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