diff options
Diffstat (limited to 'net-mgmt/nefu/pkg-install')
-rw-r--r-- | net-mgmt/nefu/pkg-install | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/net-mgmt/nefu/pkg-install b/net-mgmt/nefu/pkg-install deleted file mode 100644 index b7d05b4a62d5..000000000000 --- a/net-mgmt/nefu/pkg-install +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - USER=nefu - GROUP=nefu - UID=918 - GID=918 - - if pw groupshow "${GROUP}" > /dev/null 2>&1; then - echo "===> Using existing group ${GROUP}" - else - echo "===> Adding group ${GROUP}" - pw groupadd ${GROUP} -g ${GID} || exit 1 - fi - - if pw usershow "${USER}" > /dev/null 2>&1; then - echo "===> Using existing user ${USER}" - else - echo "===> Adding user ${USER}" - pw adduser ${USER} -u ${UID} -g ${GROUP} -h - -d "/var/db/nefu" \ - -s "/sbin/nologin" -c "Nefu daemon" || exit 1 - fi - ;; -esac |