forked from extern/shorewall_code
Log start/restart/restore failures
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5088 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8099739303
commit
d94fdb92c6
@ -4460,6 +4460,18 @@ stop_firewall() {
|
|||||||
*)
|
*)
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
|
case \$COMMAND in
|
||||||
|
start)
|
||||||
|
logger "Shorewall start failed"
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
logger "Shorewall restart failed"
|
||||||
|
;;
|
||||||
|
restore)
|
||||||
|
logger "Shorewall restore failed"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "\$RESTOREFILE" = NONE ]; then
|
if [ "\$RESTOREFILE" = NONE ]; then
|
||||||
COMMAND=clear
|
COMMAND=clear
|
||||||
clear_firewall
|
clear_firewall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user