auto-import changelog data from ypbind-1.6-12.src.rpm

Wed Nov 29 2000 Bill Nottingham <notting@redhat.com>
- set NIS domain name if it's not already set
This commit is contained in:
cvsdist 2004-09-09 15:12:15 +00:00
parent 4760d4375e
commit 89f8fe4490
2 changed files with 14 additions and 1 deletions

View File

@ -17,7 +17,17 @@ OTHER_YPBIND_OPTS=""
# Source function library.
. /etc/init.d/functions
. /etc/sysconfig/network
start() {
DOMAINNAME=`domainname`
if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
if [ -n "$NISDOMAIN" ]; then
action "Setting NIS domain name $NISDOMAIN: " domainname $NISDOMAIN
else
exit 1
fi
fi
echo -n "Binding to the NIS domain... "
daemon ypbind $OTHER_YPBIND_OPTS
echo

View File

@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain.
Name: ypbind
Version: 1.6
Release: 11
Release: 12
Copyright: GPL
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.gz
@ -80,6 +80,9 @@ exit 0
%doc README NEWS
%changelog
* Wed Nov 29 2000 Bill Nottingham <notting@redhat.com>
- set NIS domain name if it's not already set
* Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
- fix condrestart #16615
- security fix for syslog() call