]> Frank Brehm's Git Trees - scripts/solaris.git/commitdiff
Restart rausgenommen
authorFrank Brehm <frank@brehm-online.com>
Mon, 14 Nov 2005 15:27:37 +0000 (15:27 +0000)
committerFrank Brehm <frank@brehm-online.com>
Mon, 14 Nov 2005 15:27:37 +0000 (15:27 +0000)
smc.agent

index 2e55e39274afe4ee84c8efc81d78c5ab3d134050..9140d2b636f1727ec9c75dc40b6bc95d38edc5d2 100755 (executable)
--- a/smc.agent
+++ b/smc.agent
@@ -100,18 +100,6 @@ case "$1" in
 
     ;;
 
-  'restart')
-
-    if $0 status >/dev/null ; then
-      $0 stop && $0 start
-      ESTS=$?
-    else
-      $0 start
-      ESTS=$?
-    fi
-
-    ;;
-
   'status')
 
     /usr/bin/ps -ef | grep "esd - init agent" | grep -v grep >/dev/null
@@ -127,7 +115,7 @@ case "$1" in
 
   *)
 
-    echo "Usage: $0 [start|stop|restart|status]" >&2
+    echo "Usage: $0 [start|stop|status]" >&2
     ESTS=100
     ;;