diff options
author | root <root@rshg054.dnsready.net> | 2013-05-24 00:06:06 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-24 00:06:06 -0700 |
commit | 0520c5091743d9910278e53fa32470b096825fb3 (patch) | |
tree | ce32603cb0eb8456aef2a5eb66fddc98f246857c /community/leafnode/leafnode.install | |
parent | e0c1bfae73539aac5627d73dd70a299d274a0c10 (diff) |
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'community/leafnode/leafnode.install')
-rw-r--r-- | community/leafnode/leafnode.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/leafnode/leafnode.install b/community/leafnode/leafnode.install index 5f8a74c04..8c5f10484 100644 --- a/community/leafnode/leafnode.install +++ b/community/leafnode/leafnode.install @@ -1,7 +1,7 @@ post_install() { echo "-- Adding user 'news' and group 'news', chowning /var/spool/news" - grep -e "^news:" /etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&- - grep -e "^news:" /etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- + grep -e "^news:" etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&- + grep -e "^news:" etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- chown -R root:news etc/leafnode # create dir if necessary if [ ! -d var/spool/news ]; then |