Package: bacula-fd
Severity: Normal
Version: 2.4.4-1
Tags: patch
I believe that bacula-fd should be enabled or disabled using the
/etc/default/bacula-fd file. I'm submitting a patch to
/etc/init.d/bacula-fd to include this.
--- bacula-fd 2009-05-22 13:31:25.000000000 -0700
+++ /etc/init.d/bacula-fd 2009-04-20 08:02:48.000000000 -0700
@@ -40,7 +40,13 @@
if [ -f /etc/bacula/do_not_run ]; then
echo "Not starting $DESC: disabled via /etc/bacula/do_not_run"
exit 0
- fi
+ elif [ -r /etc/default/bacula-fd ]; then
+ . /etc/default/bacula-fd
+ fi
+ if [ "x$ENABLED" != "xyes" ]; then
+ echo "Not starting $DESC: disabled via
/etc/default/bacula-fd"
+ exit 0
+ fi
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org