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