diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-05-29 06:35:18 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-05-29 06:35:18 +0000 |
commit | ba229da34309b884754fcab898078d6477cad630 (patch) | |
tree | a4ef6b938994f9f979766e1453ef74d9f7913934 /net/nagios/pkg-install | |
parent | 3c1cf4612d7c4b0a87a2ca56f1e36bb8a2e6aeb4 (diff) | |
download | ports-ba229da34309b884754fcab898078d6477cad630.tar.gz ports-ba229da34309b884754fcab898078d6477cad630.zip |
Notes
Diffstat (limited to 'net/nagios/pkg-install')
-rw-r--r-- | net/nagios/pkg-install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/nagios/pkg-install b/net/nagios/pkg-install index 52af9cc24d68..dbc6461bb05e 100644 --- a/net/nagios/pkg-install +++ b/net/nagios/pkg-install @@ -5,8 +5,8 @@ PKG_PREFIX=${PKG_PREFIX:=/usr/local} -user=netsaint -group=netsaint +user=nagios +group=nagios ask() { local question default answer @@ -56,8 +56,8 @@ if [ x"$2" = xPRE-INSTALL ]; then else echo "You need a user \"${user}\"." if yesno "Would you like me to create it" y; then - /usr/sbin/pw useradd ${user} -g ${group} -h - -d ${PKG_PREFIX}/var/netsaint \ - -s /nonexistent -c "Netsaint pseudo-user" || exit + /usr/sbin/pw useradd ${user} -g ${group} -h - -d ${PKG_PREFIX}/var/nagios \ + -s /nonexistent -c "Nagios pseudo-user" || exit echo "Done." else echo "Please create it, and try again." |