Fixed a couple of typos in initscript (bz 281951)

This commit is contained in:
Steve Dickson 2007-09-17 13:03:39 +00:00
parent c677976eed
commit 2ca3c2a94d
2 changed files with 7 additions and 3 deletions

View File

@ -51,7 +51,7 @@ selinux_off() {
start() { start() {
DOMAINNAME=`domainname` DOMAINNAME=`domainname`
if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then if [ "$DOMAINNAME" = "(none)" -o "$DOMAINNAME" = "" ]; then
echo -n $"Setting NIS domain: " echo -n $"Setting NIS domain: "
if [ -n "$NISDOMAIN" ]; then if [ -n "$NISDOMAIN" ]; then
action $"domain is '$NISDOMAIN' " domainname $NISDOMAIN action $"domain is '$NISDOMAIN' " domainname $NISDOMAIN
else # See if the domain is set in config file else # See if the domain is set in config file
@ -77,7 +77,7 @@ start() {
logger -t ypbind "failed to start!" logger -t ypbind "failed to start!"
return $RETVAL return $RETVAL
fi fi
echo -n $"Binding NIS service: " echo -n $"Binding NIS service: "
# the following fixes problems with the init scripts continuing # the following fixes problems with the init scripts continuing
# even when we are really not bound yet to a server, and then things # even when we are really not bound yet to a server, and then things
# that need NIS fail. # that need NIS fail.
@ -145,6 +145,7 @@ case "$1" in
;; ;;
status) status)
status ypbind status ypbind
RETVAL=$?
;; ;;
restart|reload) restart|reload)
restart restart

View File

@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain. Summary: The NIS daemon which binds NIS clients to an NIS domain.
Name: ypbind Name: ypbind
Version: 1.20.4 Version: 1.20.4
Release: 1%{?dist} Release: 2%{?dist}
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2 Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2
@ -91,6 +91,9 @@ exit 0
%doc README NEWS %doc README NEWS
%changelog %changelog
* Mon Sep 17 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-2
- Fixed a couple of typos in initscript (bz 281951)
* Wed May 3 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-1 * Wed May 3 2007 Steve Dickson <steved@redhat.com> - 3:1.20.4-1
- updated to latest upstream version ypbind-mt-1.20.4 - updated to latest upstream version ypbind-mt-1.20.4