summaryrefslogtreecommitdiff
path: root/package/snort/ipkg/snort.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/snort/ipkg/snort.postinst')
-rw-r--r--package/snort/ipkg/snort.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/snort/ipkg/snort.postinst b/package/snort/ipkg/snort.postinst
new file mode 100644
index 000000000..c491d1c5b
--- /dev/null
+++ b/package/snort/ipkg/snort.postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf snort snort NO
+add_rcconf snort_flags snort_flags "-i eth0.0 -c /etc/snort/snort.conf -D -N -q -s"