mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
The command line argument stop was not working. Fixed.
This commit is contained in:
parent
6f50c6c96a
commit
3dd671e057
10
firehol.sh
10
firehol.sh
@ -10,7 +10,7 @@
|
||||
#
|
||||
# config: /etc/firehol.conf
|
||||
#
|
||||
# $Id: firehol.sh,v 1.34 2002/12/07 18:12:43 ktsaou Exp $
|
||||
# $Id: firehol.sh,v 1.35 2002/12/08 22:05:40 ktsaou Exp $
|
||||
#
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
@ -75,6 +75,12 @@ case "${arg}" in
|
||||
FIREHOL_TRY=0
|
||||
;;
|
||||
|
||||
stop)
|
||||
test -f /var/lock/subsys/firehol && rm -f /var/lock/subsys/firehol
|
||||
/etc/init.d/iptables stop
|
||||
exit 0
|
||||
;;
|
||||
|
||||
restart)
|
||||
FIREHOL_TRY=0
|
||||
;;
|
||||
@ -115,7 +121,7 @@ case "${arg}" in
|
||||
else
|
||||
|
||||
cat <<"EOF"
|
||||
$Id: firehol.sh,v 1.34 2002/12/07 18:12:43 ktsaou Exp $
|
||||
$Id: firehol.sh,v 1.35 2002/12/08 22:05:40 ktsaou Exp $
|
||||
(C) Copyright 2002, Costa Tsaousis
|
||||
FireHOL is distributed under GPL.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user