Changed the initscript to use the logger command instead of initlog script,

since the initlog script has gone away.
This commit is contained in:
Steve Dickson 2005-01-24 13:57:41 +00:00
parent 0f4df73600
commit 1def92d122
2 changed files with 7 additions and 3 deletions

View File

@ -52,7 +52,7 @@ start() {
echo -n "."
done
if [ $RETVAL -eq 0 ]; then
initlog -n ypbind -s "bound to NIS server `ypwhich 2> /dev/null`"
logger -t ypbind "bound to NIS server `ypwhich 2> /dev/null`"
touch /var/lock/subsys/ypbind
else
killproc ypbind

View File

@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain.
Name: ypbind
Version: 1.17.2
Release: 3
Release: 4
License: GPL
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{PACKAGE_VERSION}.tar.bz2
@ -84,7 +84,11 @@ exit 0
%doc README NEWS
%changelog
* Fri Oct 15 2004 Steve Dickson <SteveD@RedHat.com>
* Mon Jan 24 2005 Steve Dickson <SteveD@RedHat.com> 1.17.2-4
- Changed the initscript to use the logger command instead
of initlog script, since the initlog script has gone away.
* Fri Oct 15 2004 Steve Dickson <SteveD@RedHat.com> 1.17.2-3
- Sped up the ypbind initscript by using fgrep
instead of grep (bz# 81247)