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