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