mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Snort wird jetzt ordentlich beendet
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@659 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -69,6 +69,16 @@ case "$1" in
|
||||
;;
|
||||
|
||||
stop)
|
||||
DEVICES=""
|
||||
if [ -r /var/run/snort_$BLUE_DEV.pid ]; then
|
||||
DEVICES+="$BLUE_DEV "
|
||||
fi
|
||||
if [ -r /var/run/snort_$GREEN_DEV.pid ]; then
|
||||
DEVICES+="$GREEN_DEV "
|
||||
fi
|
||||
if [ -r /var/run/snort_$ORANGE_DEV.pid ]; then
|
||||
DEVICES+="$ORANGE_DEV "
|
||||
fi
|
||||
for DEVICE in $DEVICES; do
|
||||
boot_mesg "Stopping Intrusion Detection System on $DEVICE..."
|
||||
killproc -p /var/run/snort_$DEVICE.pid /var/run
|
||||
|
||||
Reference in New Issue
Block a user