From d74318f9694b7b852fc3189fff3866408fc0ccd0 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 3 May 2014 22:02:33 +0000 Subject: =?UTF-8?q?automatic=20d=C3=A6monising=20of=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/shorewall-common/files/shorewall.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/shorewall-common') diff --git a/package/shorewall-common/files/shorewall.init b/package/shorewall-common/files/shorewall.init index b143fbda4..5c5a4660a 100644 --- a/package/shorewall-common/files/shorewall.init +++ b/package/shorewall-common/files/shorewall.init @@ -6,7 +6,8 @@ case $1 in autostop) ;; autostart) - test x"$shorewall" != x"YES" && exit 0 + test x"${shorewall:-NO}" != x"YES" && exit 0 + test x"$shorewall" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) -- cgit v1.2.3