Add installcheck for proxy:proxy and authpf.

Suggested by:	ru
Approved by:	bms(mentor)
This commit is contained in:
Max Laier 2004-03-10 16:34:11 +00:00
parent f5531a094d
commit 0ab11e651c

View File

@ -418,6 +418,20 @@ installcheck: ${SPECIAL_INSTALLCHECKS}
false; \
fi
.endif
.if !defined(NO_PF)
@if ! `id -u proxy > /dev/null`; then \
echo "ERROR: Required proxy user is missing, see /usr/src/UPDATING."; \
false; \
fi
@if ! `id -g proxy > /dev/null`; then \
echo "ERROR: Required proxy group is missing, see /usr/src/UPDATING."; \
false; \
fi
@if ! `id -g authpf > /dev/null`; then \
echo "ERROR: Required authpf group is missing, see /usr/src/UPDATING."; \
false; \
fi
.endif
#
# distributeworld