diff options
author | billf <billf@FreeBSD.org> | 1998-12-16 06:05:33 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1998-12-16 06:05:33 +0800 |
commit | 581004bd510b76c89b91ad0278c777dd9318310e (patch) | |
tree | f2ba6d93b41cf5a4c1629053a7d4dacd2678a113 /irc/ircd-hybrid/pkg-install | |
parent | ef476c9e47da7c7a661dca1a0ee0cd99cb7692c4 (diff) | |
download | freebsd-ports-gnome-581004bd510b76c89b91ad0278c777dd9318310e.tar.gz freebsd-ports-gnome-581004bd510b76c89b91ad0278c777dd9318310e.tar.zst freebsd-ports-gnome-581004bd510b76c89b91ad0278c777dd9318310e.zip |
Update to 5.3p4
PR: ports/9075
Submitted by: Ken Monville <desmo@bandwidth.org> (maintainer)
Diffstat (limited to 'irc/ircd-hybrid/pkg-install')
-rw-r--r-- | irc/ircd-hybrid/pkg-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/irc/ircd-hybrid/pkg-install b/irc/ircd-hybrid/pkg-install index 05cb85569905..1bd17605bbb3 100644 --- a/irc/ircd-hybrid/pkg-install +++ b/irc/ircd-hybrid/pkg-install @@ -53,6 +53,11 @@ echo "" if pw groupshow ircd 2> /dev/null ; then echo "You already have a group \"ircd\", so I will use it." else + if pw usershow 72 2> /dev/null ; then + echo "You already have a uid \"72\". Please create a user \"ircd\"" + echo "with a default group of \"ircd\"." + exit 1 + fi echo "You need a group \"ircd\"." if which -s pw && yesno "Would you like me to create it" y; then pw groupadd ircd -g 72 || exit @@ -72,6 +77,7 @@ if pw usershow ircd 2> /dev/null ; then else echo "You need a user \"ircd\"." if which -s pw && yesno "Would you like me to create it" y; then + ifkk pw useradd ircd -g ircd -u 72 -h - -d /nonexistent \ -s /nonexistent -c "IRC Daemon" || exit echo "Done." |