forked from extern/shorewall_code
clean up STATEDIR handling in the firewall
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3352 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
af7e04f0b0
commit
b0a3b0e680
@ -72,7 +72,6 @@ startup_error() # $* = Error Message
|
||||
echo " ERROR: $@" >&2
|
||||
my_mutex_off
|
||||
[ -n "$TMP_DIR" ] && rm -rf $TMP_DIR
|
||||
[ -n "$TMP_DIR1" ] && rm -rf $TMP_DIR1
|
||||
[ -n "$RESTOREBASE" ] && rm -f $RESTOREBASE
|
||||
kill $$
|
||||
exit 2
|
||||
@ -1997,8 +1996,6 @@ stop_firewall() {
|
||||
logger "Shorewall Stopped"
|
||||
|
||||
rm -rf $TMP_DIR
|
||||
[ -n "$TMP_DIR1" ] && rm -rf $TMP_DIR1
|
||||
|
||||
|
||||
case $COMMAND in
|
||||
stop|clear)
|
||||
|
Loading…
Reference in New Issue
Block a user