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