summaryrefslogtreecommitdiff
path: root/pcr/snort/snort.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
commitd0f33415f254cb2fee06fd89f9cfed4535322f37 (patch)
tree66c13d72eac4f0110772b4675231c891334137bc /pcr/snort/snort.install
parent7e108c74958ec076a3734822f61f145d0d69547f (diff)
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/snort/snort.install')
-rw-r--r--pcr/snort/snort.install26
1 files changed, 0 insertions, 26 deletions
diff --git a/pcr/snort/snort.install b/pcr/snort/snort.install
deleted file mode 100644
index 673f22c6c..000000000
--- a/pcr/snort/snort.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install() {
- getent group snort >/dev/null || usr/sbin/groupadd -g 29 snort
- getent passwd snort >/dev/null || usr/sbin/useradd -c 'Snort user' -u 29 -g snort -d /var/log/snort -s /bin/false snort
- usr/bin/passwd -l snort &>/dev/null
-
- [ -f var/log/snort/alert ] || : >var/log/snort/alert
- chown snort.snort var/log/snort/ -R
-
-cat << _EOF
-
->>> You have to edit the HOME_NET variable in the /etc/snort/snort.conf file to reflect your local network.
->>> If you do not change it, snort may not work.
-
-_EOF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/userdel snort &>/dev/null
- usr/sbin/groupdel snort &>/dev/null
-}
-
-# vim:set ts=2 sw=2 et: