afm-util: Remove legacy commands stop/resume 65/20965/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 9 Apr 2019 15:15:57 +0000 (17:15 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 9 Apr 2019 15:35:22 +0000 (17:35 +0200)
The command stop was linked to the SIGSTOP of
processes. It came in deprecation. Keeping it
is confusing.

Bug-AGL: SPEC-2247
Bug-AGL: SPEC-2248

Change-Id: Iad6af317ba4fd6466f306ef493ef8dd62d8de778
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
scripts/afm-util.in

index 978f000..2cc714b 100755 (executable)
@@ -59,16 +59,6 @@ case "$1" in
     send terminate "$i"
     ;;
 
-  stop|pause)
-    i=$2
-    send pause "$i"
-    ;;
-
-  resume|continue)
-    i=$2
-    send resume "$i"
-    ;;
-
   state|status)
     i=$2
     send state "$i"
@@ -105,12 +95,6 @@ The commands are:
   kill rid
   terminate rid  terminate the running instance rid
 
-  stop rid
-  pause rid      pause the running instance rid
-
-  resume rid
-  continue rid   continue the previously paused rid
-
   status rid
   state rid      get status of the running instance rid