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