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