mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 16:18:13 +01:00
Tweak to last fix
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6022 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3ce7d7ef82
commit
495d04b561
@ -1432,8 +1432,8 @@ case "$COMMAND" in
|
||||
start_command $@
|
||||
;;
|
||||
stop|reset|clear)
|
||||
get_config
|
||||
[ $# -ne 1 ] && usage 1
|
||||
get_config
|
||||
export NOROUTES
|
||||
exec $SHOREWALL_SHELL $FIREWALL $debugging $nolock $COMMAND
|
||||
;;
|
||||
@ -1458,8 +1458,8 @@ case "$COMMAND" in
|
||||
check_command $@
|
||||
;;
|
||||
add|delete)
|
||||
get_config
|
||||
[ $# -lt 3 ] && usage 1
|
||||
get_config
|
||||
exec $SHOREWALL_SHELL $FIREWALL $debugging $nolock $@
|
||||
;;
|
||||
show|list)
|
||||
@ -1479,6 +1479,7 @@ case "$COMMAND" in
|
||||
;;
|
||||
status)
|
||||
[ $# -eq 1 ] || usage 1
|
||||
get_config
|
||||
echo "Shorewall-$version Status at $HOSTNAME - $(date)"
|
||||
echo
|
||||
if shorewall_is_started ; then
|
||||
|
Loading…
Reference in New Issue
Block a user