diff options
author | Chris Rees <crees@FreeBSD.org> | 2011-07-09 16:30:19 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2011-07-09 16:30:19 +0000 |
commit | c32d99baaf0e55342a9afe3214d7921367c458d9 (patch) | |
tree | e9ee42507efe2eafc28d03d63e6a6279f35cfeef /dns/unbound/files | |
parent | d370880c749ddb189337f7237fc453f6ef229834 (diff) | |
download | ports-c32d99baaf0e55342a9afe3214d7921367c458d9.tar.gz ports-c32d99baaf0e55342a9afe3214d7921367c458d9.zip |
Notes
Diffstat (limited to 'dns/unbound/files')
-rw-r--r-- | dns/unbound/files/pkg-install.in | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dns/unbound/files/pkg-install.in b/dns/unbound/files/pkg-install.in index 56ff09006d99..5a5c026be37e 100644 --- a/dns/unbound/files/pkg-install.in +++ b/dns/unbound/files/pkg-install.in @@ -4,27 +4,10 @@ # PW=/usr/sbin/pw -UID=59 USER="unbound" PREFIX="%%PREFIX%%" case $2 in - -PRE-INSTALL) - if ${PW} user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if ${PW} useradd ${USER} -u ${UID} -g daemon -h - \ - -d "/nonexistent" -s /usr/sbin/nologin -c "unbound dns resolver" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - ;; - POST-INSTALL) chown "${USER}" $PREFIX/etc/unbound ;; |