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