afm-util: adds run-remote and start-remote commands
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 3 Mar 2017 09:15:55 +0000 (10:15 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 3 Mar 2017 09:23:26 +0000 (10:23 +0100)
Change-Id: I2c94d072886f4dd004ea13f7bf0c1ce61b757ca8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
scripts/afm-util

index eb800d9..9df5284 100755 (executable)
@@ -52,6 +52,11 @@ case "$1" in
     send start "\"$i\""
     ;;
 
+  run-remote|start-remote)
+    i=$2
+    send start '{"id":"'"$i"'","mode":"remote"}'
+    ;;
+
   once)
     i=$2
     send once "\"$i\""