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