aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-03 10:15:55 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-03 10:23:26 +0100
commitd6d9ef2d710c266b1b6247875a4f69d2ecac4018 (patch)
tree808922083035a1fbaff3b0e88bb6e70a934fddfd /scripts
parentd87f24e7f21e581e6b90034ca0df0459a271244a (diff)
afm-util: adds run-remote and start-remote commands
Change-Id: I2c94d072886f4dd004ea13f7bf0c1ce61b757ca8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/afm-util5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/afm-util b/scripts/afm-util
index eb800d9..9df5284 100755
--- a/scripts/afm-util
+++ b/scripts/afm-util
@@ -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\""