diff options
Diffstat (limited to 'package/snort-wireless/files')
-rw-r--r-- | package/snort-wireless/files/snort-wireless.conffiles | 2 | ||||
-rw-r--r-- | package/snort-wireless/files/snort-wireless.init | 4 | ||||
-rw-r--r-- | package/snort-wireless/files/snort-wireless.postinst | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/package/snort-wireless/files/snort-wireless.conffiles b/package/snort-wireless/files/snort-wireless.conffiles new file mode 100644 index 000000000..a224c4c1d --- /dev/null +++ b/package/snort-wireless/files/snort-wireless.conffiles @@ -0,0 +1,2 @@ +/etc/snort/snort.conf +/etc/snort/threshold.conf diff --git a/package/snort-wireless/files/snort-wireless.init b/package/snort-wireless/files/snort-wireless.init index 6986f6118..3d7376bbe 100644 --- a/package/snort-wireless/files/snort-wireless.init +++ b/package/snort-wireless/files/snort-wireless.init @@ -1,5 +1,7 @@ #!/bin/sh -#FWINIT 75 +#PKG snort-wireless +#INIT 75 + . /etc/rc.conf case $1 in 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" |