forked from extern/shorewall_code
Syncronize shorewall-lite activities
Conflicts: Shorewall-lite/shorewall-lite Shorewall6-lite/shorewall6-lite Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a982a29a5c
commit
8b8a297798
@ -93,7 +93,7 @@ for PRODUCT in $PRODUCTS; do
|
|||||||
VARDIR=/var/lib/$PRODUCT
|
VARDIR=/var/lib/$PRODUCT
|
||||||
[ -f /etc/$PRODUCT/vardir ] && . /etc/$PRODUCT/vardir
|
[ -f /etc/$PRODUCT/vardir ] && . /etc/$PRODUCT/vardir
|
||||||
if [ -x $VARDIR/firewall ]; then
|
if [ -x $VARDIR/firewall ]; then
|
||||||
$VARDIR/firewall -V0 $COMMAND $IFACE
|
/sbin/$PRODUCT -v0 $COMMAND $IFACE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -635,6 +635,11 @@ case "$COMMAND" in
|
|||||||
run_it $g_firewall $debugging $COMMAND
|
run_it $g_firewall $debugging $COMMAND
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
;;
|
;;
|
||||||
|
up|down)
|
||||||
|
[ -n "$nolock" ] || mutex_on
|
||||||
|
run_it $g_firewall $debugging $COMMAND
|
||||||
|
[ -n "$nolock" ] || mutex_off
|
||||||
|
;;
|
||||||
reset)
|
reset)
|
||||||
verify_firewall_script
|
verify_firewall_script
|
||||||
[ -n "$nolock" ] || mutex_on
|
[ -n "$nolock" ] || mutex_on
|
||||||
|
@ -1635,6 +1635,12 @@ case "$COMMAND" in
|
|||||||
run_it $g_firewall $g_debugging $COMMAND
|
run_it $g_firewall $g_debugging $COMMAND
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
;;
|
;;
|
||||||
|
up|down)
|
||||||
|
[ -x $g_firewall ] || fatal_error "Shorewall has never been started"
|
||||||
|
mutex_on
|
||||||
|
run_it $g_firewall $g_debugging $nolock $@
|
||||||
|
mutex_off
|
||||||
|
;;
|
||||||
reset)
|
reset)
|
||||||
get_config
|
get_config
|
||||||
shift
|
shift
|
||||||
|
@ -619,6 +619,11 @@ case "$COMMAND" in
|
|||||||
run_it $g_firewall $debugging $COMMAND
|
run_it $g_firewall $debugging $COMMAND
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
;;
|
;;
|
||||||
|
up|down)
|
||||||
|
[ -n "$nolock" ] || mutex_on
|
||||||
|
run_it $g_firewall $debugging $@
|
||||||
|
[ -n "$nolock" ] || mutex_off
|
||||||
|
;;
|
||||||
restart)
|
restart)
|
||||||
shift
|
shift
|
||||||
restart_command $@
|
restart_command $@
|
||||||
|
@ -1548,6 +1548,11 @@ case "$COMMAND" in
|
|||||||
run_it $g_firewall $g_debugging $COMMAND
|
run_it $g_firewall $g_debugging $COMMAND
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
;;
|
;;
|
||||||
|
up|down)
|
||||||
|
mutex_on
|
||||||
|
run_it $g_firewall $g_debugging $nolock $@
|
||||||
|
mutex_off
|
||||||
|
;;
|
||||||
reset)
|
reset)
|
||||||
get_config
|
get_config
|
||||||
shift
|
shift
|
||||||
|
Loading…
Reference in New Issue
Block a user