mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +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)
|
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
|
for DEVICE in $DEVICES; do
|
||||||
boot_mesg "Stopping Intrusion Detection System on $DEVICE..."
|
boot_mesg "Stopping Intrusion Detection System on $DEVICE..."
|
||||||
killproc -p /var/run/snort_$DEVICE.pid /var/run
|
killproc -p /var/run/snort_$DEVICE.pid /var/run
|
||||||
|
|||||||
Reference in New Issue
Block a user