Fixed Guardian deactivate bug #0000664

This commit is contained in:
Christian Schmidt
2010-06-21 19:03:10 +02:00
parent 841f013e26
commit 1b37278adb

View File

@@ -118,7 +118,7 @@ case "$1" in
rm /var/run/snort_* >/dev/null 2>/dev/null
if [ -r /var/ipfire/guardian/enable ]; then
if ([ -r /var/ipfire/guardian/enable ] || [ -n $(pidofproc /usr/local/bin/guardian.pl) ]); then
boot_mesg "Stopping Guardian..."
killproc /usr/local/bin/guardian.pl
fi