diff options
author | root <root@rshg054.dnsready.net> | 2012-09-13 00:04:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-13 00:04:38 +0000 |
commit | 843685ce9dd76d37a4c7b0230eacb6d26bdf30dd (patch) | |
tree | 9151f782b8f347cf28e0f398341441d659f41f4a /community/freeradius/freeradius.install | |
parent | 21c375ba65c4730e25cd0b135aff7811bf28c77a (diff) |
Thu Sep 13 00:04:37 UTC 2012
Diffstat (limited to 'community/freeradius/freeradius.install')
-rw-r--r-- | community/freeradius/freeradius.install | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/community/freeradius/freeradius.install b/community/freeradius/freeradius.install index c3b9f9415..cb7590e77 100644 --- a/community/freeradius/freeradius.install +++ b/community/freeradius/freeradius.install @@ -2,21 +2,16 @@ post_install() { groupadd -r radiusd useradd -r -m -d /var/lib/radiusd -g radiusd -s /bin/false radiusd - touch /var/log/radius/radius.log - chown -R radiusd.radiusd /var/log/radius/radius.log + touch var/log/radius/radius.log + chown -R radiusd:radiusd var/log/radius/radius.log - [ -d /etc/raddb ] || cp -a /etc/raddb.default /etc/raddb + [ -d etc/raddb ] || cp -a etc/raddb.default etc/raddb - /bin/true -} - -pre_remove() { - /etc/rc.d/radiusd stop - /bin/true + true } post_remove() { userdel radiusd groupdel radiusd - /bin/true + true } |