summaryrefslogtreecommitdiff
path: root/package/snort/files/snort.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/snort/files/snort.init')
-rw-r--r--package/snort/files/snort.init23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/snort/files/snort.init b/package/snort/files/snort.init
deleted file mode 100644
index 13a5e302c..000000000
--- a/package/snort/files/snort.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#PKG snort
-#INIT 60
-. /etc/rc.conf
-
-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)
- /usr/sbin/snort $snort_flags
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/snort)
- ;;
-*)
- echo "usage: $0 {start | stop | restart}"
- exit 1
-esac
-exit $?