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