diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2014-05-03 22:02:33 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-04 01:21:46 +0200 |
commit | d74318f9694b7b852fc3189fff3866408fc0ccd0 (patch) | |
tree | 1c597d872fdb79c02bbb1c37ca3c949ffb8056ad /package/iptables | |
parent | 1eb27178b7018e3be77d69a280c52321ff560846 (diff) |
automatic dæmonising of services
Diffstat (limited to 'package/iptables')
-rwxr-xr-x | package/iptables/files/firewall.init | 1 | ||||
-rwxr-xr-x | package/iptables/files/firewall6.init | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/package/iptables/files/firewall.init b/package/iptables/files/firewall.init index b3ea698d6..29fed9323 100755 --- a/package/iptables/files/firewall.init +++ b/package/iptables/files/firewall.init @@ -7,6 +7,7 @@ case $1 in autostop) ;; autostart) test x"${firewall:-NO}" = x"NO" && exit 0 + test x"$firewall" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) diff --git a/package/iptables/files/firewall6.init b/package/iptables/files/firewall6.init index 162b98a4f..55631ecc9 100755 --- a/package/iptables/files/firewall6.init +++ b/package/iptables/files/firewall6.init @@ -7,6 +7,7 @@ case $1 in autostop) ;; autostart) test x"${firewall6:-NO}" = x"NO" && exit 0 + test x"$firewall6" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) |