]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/slackware/rc.bacula-dir.in
Fix compiler warning.
[bacula/bacula] / bacula / platforms / slackware / rc.bacula-dir.in
index dcda59307d980f2cfaaa6aebf4b98d6b390ff35a..3a613a9e7ec93f0615085cab57d2844b2013a4c8 100644 (file)
@@ -4,7 +4,7 @@
 #             the bacula Director daemon
 #
 # chkconfig: 2345 92 99
-# description: It comes by night and sucks the vital essence from your computers.
+# description: The Leading Open Source Backup Solution.
 #
 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
 #
@@ -14,7 +14,7 @@
 
 case "$1" in
     start)
-        [ -x ${BACDIRBIN}/bacula-dir ] && { 
+       [ -x ${BACDIRBIN}/bacula-dir ] && { 
            sleep 2
            echo -n "Starting the Director daemon: "
            OPTIONS=''
@@ -27,27 +27,27 @@ case "$1" in
            fi
 
            ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/bacula-dir.conf
-            echo Done.
-        }
-        ;;
+           echo Done.
+       }
+       ;;
     stop)
-        [ -x ${BACDIRBIN}/bacula-dir ] && {
+       [ -x ${BACDIRBIN}/bacula-dir ] && {
            echo -n "Stopping the Director daemon: "
            killproc ${BACDIRBIN}/bacula-dir ${DIR_PORT}
-            echo Done.
-        }
-        ;;
+           echo Done.
+       }
+       ;;
     restart)
-        $0 stop
-        sleep 5
-        $0 start
-        ;;
+       $0 stop
+       sleep 5
+       $0 start
+       ;;
     status)
-        [ -x ${BACDIRBIN}/bacula-dir ] && status ${BACDIRBIN}/bacula-dir ${DIR_PORT}
-        ;;
+       [ -x ${BACDIRBIN}/bacula-dir ] && status ${BACDIRBIN}/bacula-dir ${DIR_PORT}
+       ;;
     *)
-        echo "Usage: $0 {start|stop|restart|status}"
-        exit 1
-        ;;
+       echo "Usage: $0 {start|stop|restart|status}"
+       exit 1
+       ;;
 esac
 exit 0