mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 06:10:42 +01:00
Fix broken init scripts.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f6cc44eb6b
commit
7de961ebfe
@ -76,10 +76,10 @@ command="$1"
|
|||||||
|
|
||||||
case "$command" in
|
case "$command" in
|
||||||
start)
|
start)
|
||||||
exec /sbin/shorewall-lite $OPTIONS start $STARTOPTIONS $@
|
exec /sbin/shorewall-lite $OPTIONS start $STARTOPTIONS
|
||||||
;;
|
;;
|
||||||
restart|reload)
|
restart|reload)
|
||||||
exec /sbin/shorewall-lite $OPTIONS restart $RESTARTOPTIONS $@
|
exec /sbin/shorewall-lite $OPTIONS restart $RESTARTOPTIONS
|
||||||
;;
|
;;
|
||||||
status|stop)
|
status|stop)
|
||||||
exec /sbin/shorewall-lite $OPTIONS $command $@
|
exec /sbin/shorewall-lite $OPTIONS $command $@
|
||||||
|
@ -78,13 +78,13 @@ shift
|
|||||||
|
|
||||||
case "$command" in
|
case "$command" in
|
||||||
start)
|
start)
|
||||||
exec /sbin/shorewall $OPTIONS start $STARTOPTIONS $@
|
exec /sbin/shorewall $OPTIONS start $STARTOPTIONS
|
||||||
;;
|
;;
|
||||||
restart|reload)
|
restart|reload)
|
||||||
exec /sbin/shorewall $OPTIONS restart $RESTARTOPTIONS $@
|
exec /sbin/shorewall $OPTIONS restart $RESTARTOPTIONS
|
||||||
;;
|
;;
|
||||||
status|stop)
|
status|stop)
|
||||||
exec /sbin/shorewall $OPTIONS $command $@
|
exec /sbin/shorewall $OPTIONS $command
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
|
@ -76,10 +76,10 @@ command="$1"
|
|||||||
|
|
||||||
case "$command" in
|
case "$command" in
|
||||||
start)
|
start)
|
||||||
exec /sbin/shorewall6-lite $OPTIONS start $STARTOPTIONS $@
|
exec /sbin/shorewall6-lite $OPTIONS start $STARTOPTIONS
|
||||||
;;
|
;;
|
||||||
restart|reload)
|
restart|reload)
|
||||||
exec /sbin/shorewall6-lite $OPTIONS restart $RESTARTOPTIONS $@
|
exec /sbin/shorewall6-lite $OPTIONS restart $RESTARTOPTIONS
|
||||||
;;
|
;;
|
||||||
status|stop)
|
status|stop)
|
||||||
exec /sbin/shorewall6-lite $OPTIONS $command $@
|
exec /sbin/shorewall6-lite $OPTIONS $command $@
|
||||||
|
@ -77,10 +77,10 @@ command="$1"
|
|||||||
|
|
||||||
case "$command" in
|
case "$command" in
|
||||||
start)
|
start)
|
||||||
exec /sbin/shorewall6 $OPTIONS start $STARTOPTIONS $@
|
exec /sbin/shorewall6 $OPTIONS start $STARTOPTIONS
|
||||||
;;
|
;;
|
||||||
restart|reload)
|
restart|reload)
|
||||||
exec /sbin/shorewall6 $OPTIONS restart $RESTARTOPTIONS $@
|
exec /sbin/shorewall6 $OPTIONS restart $RESTARTOPTIONS
|
||||||
;;
|
;;
|
||||||
status|stop)
|
status|stop)
|
||||||
exec /sbin/shorewall6 $OPTIONS $command $@
|
exec /sbin/shorewall6 $OPTIONS $command $@
|
||||||
|
Loading…
Reference in New Issue
Block a user