summaryrefslogtreecommitdiff
path: root/package/quagga/files/quagga.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/quagga/files/quagga.init')
-rw-r--r--package/quagga/files/quagga.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/quagga/files/quagga.init b/package/quagga/files/quagga.init
index 498287051..b5147b7bc 100644
--- a/package/quagga/files/quagga.init
+++ b/package/quagga/files/quagga.init
@@ -111,6 +111,7 @@ esac
case ${COMMAND} in
autostart)
test x"${quagga:-NO}" = x"NO" && exit 0
+ test x"$quagga" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start|restart|watchrestart)