aboutsummaryrefslogtreecommitdiff
path: root/misc/dnetc/pkg-install
diff options
context:
space:
mode:
authorDaniel Baker <dbaker@FreeBSD.org>2001-12-04 07:58:50 +0000
committerDaniel Baker <dbaker@FreeBSD.org>2001-12-04 07:58:50 +0000
commit48b2f7e43bdcde2733417e92ace1c2cc0137b81e (patch)
tree457ea6f87d4d4d3da27915d89b52f9db47ac15e3 /misc/dnetc/pkg-install
parent97fd5cb5a5862d134275f69d6f1e058eff3c540c (diff)
downloadports-48b2f7e43bdcde2733417e92ace1c2cc0137b81e.tar.gz
ports-48b2f7e43bdcde2733417e92ace1c2cc0137b81e.zip
Notes
Diffstat (limited to 'misc/dnetc/pkg-install')
-rw-r--r--misc/dnetc/pkg-install8
1 files changed, 3 insertions, 5 deletions
diff --git a/misc/dnetc/pkg-install b/misc/dnetc/pkg-install
index d837ae3a40c4..4affdc2a568a 100644
--- a/misc/dnetc/pkg-install
+++ b/misc/dnetc/pkg-install
@@ -5,12 +5,10 @@ if [ "$2" != "PRE-INSTALL" ]; then
fi
CLIENTUSER=$3
-CLIENTUID=$4
-CLIENTGROUP=$5
-CLIENTGID=$6
+CLIENTGROUP=$4
if ! pw groupshow "$CLIENTGROUP" 2>/dev/null 1>&2; then
- if pw groupadd $CLIENTGROUP -g $CLIENTGID; then
+ if pw groupadd $CLIENTGROUP; then
echo "=> Added group \"$CLIENTGROUP\"."
else
echo "=> Adding group \"$CLIENTGROUP\" failed..."
@@ -19,7 +17,7 @@ if ! pw groupshow "$CLIENTGROUP" 2>/dev/null 1>&2; then
fi
if ! pw usershow "$CLIENTUSER" 2>/dev/null 1>&2; then
- if pw useradd $CLIENTUSER -u $CLIENTUID -g $CLIENTGROUP -h - \
+ if pw useradd $CLIENTUSER -g $CLIENTGROUP -h - \
-s "/sbin/nologin" -d "/nonexistent" \
-c "distributed.net client and proxy pseudo-user"; \
then