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