diff options
Diffstat (limited to 'community/leafnode/leafnode.install')
-rw-r--r-- | community/leafnode/leafnode.install | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/community/leafnode/leafnode.install b/community/leafnode/leafnode.install deleted file mode 100644 index 8c5f10484..000000000 --- a/community/leafnode/leafnode.install +++ /dev/null @@ -1,14 +0,0 @@ -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>&- >&- - chown -R root:news etc/leafnode - # create dir if necessary - if [ ! -d var/spool/news ]; then - install -d -m 770 -o news -g news var/spool/news - fi -} - -post_remove() { - echo "-- Don't forget to remove /var/spool/news directory" -} |