From 7de961ebfea9bda892a92f4aada5daa5ab633cf3 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 21 Feb 2012 13:16:12 -0800 Subject: [PATCH] Fix broken init scripts. Signed-off-by: Tom Eastep --- Shorewall-lite/init.sh | 4 ++-- Shorewall/init.sh | 6 +++--- Shorewall6-lite/init.sh | 4 ++-- Shorewall6/init.sh | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Shorewall-lite/init.sh b/Shorewall-lite/init.sh index 214bf710a..859f5affa 100755 --- a/Shorewall-lite/init.sh +++ b/Shorewall-lite/init.sh @@ -76,10 +76,10 @@ command="$1" case "$command" in start) - exec /sbin/shorewall-lite $OPTIONS start $STARTOPTIONS $@ + exec /sbin/shorewall-lite $OPTIONS start $STARTOPTIONS ;; restart|reload) - exec /sbin/shorewall-lite $OPTIONS restart $RESTARTOPTIONS $@ + exec /sbin/shorewall-lite $OPTIONS restart $RESTARTOPTIONS ;; status|stop) exec /sbin/shorewall-lite $OPTIONS $command $@ diff --git a/Shorewall/init.sh b/Shorewall/init.sh index aaed5d967..9f4e02041 100755 --- a/Shorewall/init.sh +++ b/Shorewall/init.sh @@ -78,13 +78,13 @@ shift case "$command" in start) - exec /sbin/shorewall $OPTIONS start $STARTOPTIONS $@ + exec /sbin/shorewall $OPTIONS start $STARTOPTIONS ;; restart|reload) - exec /sbin/shorewall $OPTIONS restart $RESTARTOPTIONS $@ + exec /sbin/shorewall $OPTIONS restart $RESTARTOPTIONS ;; status|stop) - exec /sbin/shorewall $OPTIONS $command $@ + exec /sbin/shorewall $OPTIONS $command ;; *) usage diff --git a/Shorewall6-lite/init.sh b/Shorewall6-lite/init.sh index 08dd7922f..b6005e8aa 100755 --- a/Shorewall6-lite/init.sh +++ b/Shorewall6-lite/init.sh @@ -76,10 +76,10 @@ command="$1" case "$command" in start) - exec /sbin/shorewall6-lite $OPTIONS start $STARTOPTIONS $@ + exec /sbin/shorewall6-lite $OPTIONS start $STARTOPTIONS ;; restart|reload) - exec /sbin/shorewall6-lite $OPTIONS restart $RESTARTOPTIONS $@ + exec /sbin/shorewall6-lite $OPTIONS restart $RESTARTOPTIONS ;; status|stop) exec /sbin/shorewall6-lite $OPTIONS $command $@ diff --git a/Shorewall6/init.sh b/Shorewall6/init.sh index a0d4f9040..a91b4c00b 100755 --- a/Shorewall6/init.sh +++ b/Shorewall6/init.sh @@ -77,10 +77,10 @@ command="$1" case "$command" in start) - exec /sbin/shorewall6 $OPTIONS start $STARTOPTIONS $@ + exec /sbin/shorewall6 $OPTIONS start $STARTOPTIONS ;; restart|reload) - exec /sbin/shorewall6 $OPTIONS restart $RESTARTOPTIONS $@ + exec /sbin/shorewall6 $OPTIONS restart $RESTARTOPTIONS ;; status|stop) exec /sbin/shorewall6 $OPTIONS $command $@