mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Be specific about which domainname is not set. It seems the man page
reference is not enough.
This commit is contained in:
parent
9efd29f394
commit
1790807ec0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117346
@ -40,7 +40,7 @@ ypbind_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ yppasswdd_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ ypserv_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -31,7 +31,7 @@ ypset_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ rpc_ypupdated_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ ypxfrd_precmd()
|
||||
|
||||
_domain=`domainname`
|
||||
if [ -z "$_domain" ]; then
|
||||
warn "domainname(1) is not set."
|
||||
warn "NIS domainname(1) is not set."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user