diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-07 19:34:53 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-11-07 19:34:53 -0200 |
commit | 950e700549c5e95446fa651cbe2ff4d07e857e2c (patch) | |
tree | 351eb3c551e2e3b1c11542ac89f46c9b6727e377 /pcr/snort | |
parent | 579a8fd75f6acd8fbfa5fa57bbb16216a56de795 (diff) | |
download | abslibre-950e700549c5e95446fa651cbe2ff4d07e857e2c.tar.gz abslibre-950e700549c5e95446fa651cbe2ff4d07e857e2c.tar.bz2 abslibre-950e700549c5e95446fa651cbe2ff4d07e857e2c.zip |
snort: fix sbin to bin in snort.install
Diffstat (limited to 'pcr/snort')
-rw-r--r-- | pcr/snort/snort.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pcr/snort/snort.install b/pcr/snort/snort.install index 673f22c6c..4320c2fae 100644 --- a/pcr/snort/snort.install +++ b/pcr/snort/snort.install @@ -1,6 +1,6 @@ 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 + getent group snort >/dev/null || usr/bin/groupadd -g 29 snort + getent passwd snort >/dev/null || usr/bin/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 @@ -19,8 +19,8 @@ post_upgrade() { } pre_remove() { - usr/sbin/userdel snort &>/dev/null - usr/sbin/groupdel snort &>/dev/null + usr/bin/userdel snort &>/dev/null + usr/bin/groupdel snort &>/dev/null } # vim:set ts=2 sw=2 et: |