]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/bacula-ctl-sd.in
Finally... the 100% of bacula spanish !!! ;-)
[bacula/bacula] / bacula / scripts / bacula-ctl-sd.in
index 9586bfc84c0524f35032bc3072b5b9de2158b34e..9046f5b8fbe1b34f48d9bcb3508fa8113cc2bda4 100644 (file)
@@ -31,7 +31,7 @@ SD_PORT=@sd_port@
 
 SD_USER=@sd_user@
 SD_GROUP=@sd_group@
-
+Bacula="@BACULA@"
 PIDOF=@PIDOF@  
 
 # A function to stop a program.
@@ -197,7 +197,7 @@ fi
 case "$1" in
    start)
       [ -x ${BACSDBIN}/bacula-sd ] && {
-        echo "Starting the Bacula Storage daemon"
+        echo "Starting the $Bacula Storage daemon"
         OPTIONS=''
         if [ "${SD_USER}" != '' ]; then
            OPTIONS="${OPTIONS} -u ${SD_USER}"
@@ -207,14 +207,14 @@ case "$1" in
            OPTIONS="${OPTIONS} -g ${SD_GROUP}"
         fi
 
-        ${BACSDBIN}/bacula-sd $2 ${OPTIONS} -v -c ${BACSDCFG}/bacula-sd.conf
+        ${BACSDBIN}/bacula-sd $2 $3 ${OPTIONS} -v -c ${BACSDCFG}/bacula-sd.conf
       }
       ;;
 
 
    stop)
       [ -x ${BACSDBIN}/bacula-sd ] && {
-        echo "Stopping the Bacula Storage daemon"
+        echo "Stopping the $Bacula Storage daemon"
         killproc ${BACSDBIN}/bacula-sd ${SD_PORT}
       }
       ;;