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