From 8e8e13b87b5d592621be0a15a19b5ea0a1fad0b5 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Tue, 12 Feb 2008 16:42:15 +0000 Subject: [PATCH] fixed restart --- vsys-initscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vsys-initscript b/vsys-initscript index 8ae12a1..58eb450 100755 --- a/vsys-initscript +++ b/vsys-initscript @@ -43,11 +43,12 @@ case "$1" in [ $RETVAL -eq 0 ] && rm -f ${lockfile} ${pidfile} ;; restart) - stop - start + $0 stop + $0 start + RETVAL=$? ;; *) - echo $"Usage: $0 {start|stop}" + echo $"Usage: $0 {start|stop|restart}" exit 1 ;; esac -- 2.43.0