mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
Fixed Guardian deactivate bug #0000664
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user