Fixed init scripts to return correct exit code on 'service status' (bz
248097)
This commit is contained in:
parent
9e6636ac22
commit
20b8f640cf
|
@ -64,6 +64,7 @@ case "$1" in
|
|||
;;
|
||||
status)
|
||||
status rpc.yppasswdd
|
||||
RETVAL=$?
|
||||
;;
|
||||
restart|reload)
|
||||
stop
|
||||
|
|
|
@ -59,6 +59,7 @@ case "$1" in
|
|||
;;
|
||||
status)
|
||||
status ypserv
|
||||
RETVAL=$?
|
||||
;;
|
||||
restart|reload)
|
||||
stop
|
||||
|
|
|
@ -46,6 +46,7 @@ case "$1" in
|
|||
;;
|
||||
status)
|
||||
status rpc.ypxfrd
|
||||
RETVAL=$?
|
||||
;;
|
||||
restart|reload)
|
||||
stop
|
||||
|
|
|
@ -4,7 +4,7 @@ Summary: The NIS (Network Information Service) server.
|
|||
Url: http://www.linux-nis.org/nis/ypserv/index.html
|
||||
Name: ypserv
|
||||
Version: 2.19
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
|
||||
|
@ -138,6 +138,10 @@ exit 0
|
|||
%{_includedir}/*/*
|
||||
|
||||
%changelog
|
||||
* Sat Sep 15 2007 Steve Dickson <steved@redhat.com> 2.19-6
|
||||
- Fixed init scripts to return correct exit code on
|
||||
'service status' (bz 248097)
|
||||
|
||||
* Tue Jul 31 2007 Steve Dickson <steved@redhat.com> 2.19-5
|
||||
- Changed install process to create an useful debuginfo package (bz 249961)
|
||||
|
||||
|
|
Loading…
Reference in New Issue