diff options
author | Bill Fumerola <billf@FreeBSD.org> | 1998-12-15 22:05:33 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 1998-12-15 22:05:33 +0000 |
commit | c277b2875f4c4a6e9ed197ff3bd8a8ce132911be (patch) | |
tree | 4011c267940dffdec0b390df9b380b2c4ae1d1dd /irc/ircd-hybrid/pkg-install | |
parent | Activate vpce (diff) |
Update to 5.3p4
PR: ports/9075
Submitted by: Ken Monville <desmo@bandwidth.org> (maintainer)
Diffstat (limited to '')
-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." |