summaryrefslogtreecommitdiff
path: root/irc/ircd-hybrid/pkg-install
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-12-15 22:05:33 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-12-15 22:05:33 +0000
commitc277b2875f4c4a6e9ed197ff3bd8a8ce132911be (patch)
tree4011c267940dffdec0b390df9b380b2c4ae1d1dd /irc/ircd-hybrid/pkg-install
parentActivate vpce (diff)
Update to 5.3p4
PR: ports/9075 Submitted by: Ken Monville <desmo@bandwidth.org> (maintainer)
Notes
Notes: svn path=/head/; revision=15368
Diffstat (limited to '')
-rw-r--r--irc/ircd-hybrid/pkg-install6
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."