From 940ac992ffc81366ba5489f4a08109b156c6804d Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Tue, 19 Jun 2012 11:58:54 +0200 Subject: [PATCH] SysV init scripts cleanup #2 --- bacula-dir.init | 4 +--- bacula-fd.init | 4 +--- bacula-sd.init | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/bacula-dir.init b/bacula-dir.init index a4be040..9f999b0 100644 --- a/bacula-dir.init +++ b/bacula-dir.init @@ -70,8 +70,6 @@ case "$1" in stop start ;; - reload) - ;; condrestart|try-restart) if [ -f /var/lock/subsys/$prog ]; then stop @@ -79,7 +77,7 @@ case "$1" in fi ;; *) - echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}" + echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}" [ "$1" = "usage" ] && exit 0 exit 2 ;; diff --git a/bacula-fd.init b/bacula-fd.init index 60f257f..662deba 100644 --- a/bacula-fd.init +++ b/bacula-fd.init @@ -70,8 +70,6 @@ case "$1" in stop start ;; - reload) - ;; condrestart|try-restart) if [ -f /var/lock/subsys/$prog ]; then stop @@ -79,7 +77,7 @@ case "$1" in fi ;; *) - echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}" + echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}" [ "$1" = "usage" ] && exit 0 exit 2 ;; diff --git a/bacula-sd.init b/bacula-sd.init index 46aec10..98327d9 100644 --- a/bacula-sd.init +++ b/bacula-sd.init @@ -69,8 +69,6 @@ case "$1" in stop start ;; - reload) - ;; condrestart|try-restart) if [ -f /var/lock/subsys/$prog ]; then stop @@ -78,7 +76,7 @@ case "$1" in fi ;; *) - echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}" + echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}" [ "$1" = "usage" ] && exit 0 exit 2 ;;