bacula/bacula.patch

changeset 213
117704011216
parent 142
c960abd3fd97
child 220
a6cd892638c1
     1.1 --- a/bacula/bacula.patch	Tue Aug 04 19:18:40 2009 +0200
     1.2 +++ b/bacula/bacula.patch	Tue Sep 22 11:08:04 2009 +0200
     1.3 @@ -65,14 +65,14 @@
     1.4  -      [ -x ${SCRIPTDIR}/bacula-ctl-fd ] && ${SCRIPTDIR}/bacula-ctl-fd $1 $2
     1.5  -      [ -x ${SCRIPTDIR}/bacula-ctl-sd ] && ${SCRIPTDIR}/bacula-ctl-sd $1 $2
     1.6  -      [ -x ${SCRIPTDIR}/bacula-ctl-dir ] && ${SCRIPTDIR}/bacula-ctl-dir $1 $2
     1.7 ++      [ "$enable_fd" = "yes"  ] && [ -x ${SCRIPTDIR}/bacula-ctl-fd ] && ${SCRIPTDIR}/bacula-ctl-fd $1 $2
     1.8  +      [ "$enable_sd" = "yes"  ] && [ -x ${SCRIPTDIR}/bacula-ctl-sd ] && ${SCRIPTDIR}/bacula-ctl-sd $1 $2
     1.9 -+      [ "$enable_fd" = "yes"  ] && [ -x ${SCRIPTDIR}/bacula-ctl-fd ] && ${SCRIPTDIR}/bacula-ctl-fd $1 $2
    1.10  +      [ "$enable_dir" = "yes" ] && [ -x ${SCRIPTDIR}/bacula-ctl-dir ] && ${SCRIPTDIR}/bacula-ctl-dir $1 $2
    1.11         ;;
    1.12   
    1.13      restart)
    1.14  -      $0 stop
    1.15 -+      $0 stop  $debug $enable_dir $enable_sd $enable_fd
    1.16 ++      $0 stop $debug $enable_dir $enable_sd $enable_fd
    1.17         sleep 2
    1.18  -      $0 start
    1.19  +      $0 start $debug $enable_dir $enable_sd $enable_fd

mercurial