forked from rpms/rpcbind
- Fixed typo in Summary (bz 331811)
- Corrected init script (bz 247046)
This commit is contained in:
parent
e5d0656162
commit
970296bbaf
25
rpcbind.init
25
rpcbind.init
@ -25,28 +25,23 @@ fi
|
|||||||
# Source function library.
|
# Source function library.
|
||||||
. /etc/init.d/functions
|
. /etc/init.d/functions
|
||||||
|
|
||||||
# Get config.
|
|
||||||
if [ -f /etc/sysconfig/network ]; then
|
|
||||||
. /etc/sysconfig/network
|
|
||||||
else
|
|
||||||
echo $"Networking not configured - exiting"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
prog="rpcbind"
|
prog="rpcbind"
|
||||||
|
|
||||||
# Check that networking is up.
|
|
||||||
if [ "$NETWORKING" = "no" ]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ -f /sbin/$prog ] || exit 0
|
|
||||||
|
|
||||||
[ -f /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
|
[ -f /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
# Get config.
|
||||||
|
if [ -f /etc/sysconfig/network ]; then
|
||||||
|
. /etc/sysconfig/network
|
||||||
|
else
|
||||||
|
exit 6
|
||||||
|
fi
|
||||||
|
# Check that networking is up.
|
||||||
|
[ "$NETWORKING" = "no" ] || exit 6
|
||||||
|
[ -f /sbin/$prog ] || exit 5
|
||||||
|
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
daemon $prog $RPCBIND_ARGS
|
daemon $prog $RPCBIND_ARGS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Napper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://nfsv4.bullopensource.org
|
URL: http://nfsv4.bullopensource.org
|
||||||
@ -127,6 +127,10 @@ fi
|
|||||||
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-9
|
||||||
|
- Fixed typo in Summary (bz 331811)
|
||||||
|
- Corrected init script (bz 247046)
|
||||||
|
|
||||||
* Sat Sep 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-8
|
* Sat Sep 15 2007 Steve Dickson <steved@redhat.com> 0.1.4-8
|
||||||
- Fixed typo in init script (bz 248285)
|
- Fixed typo in init script (bz 248285)
|
||||||
- Added autoconf rules to turn on secure host checking
|
- Added autoconf rules to turn on secure host checking
|
||||||
|
Loading…
Reference in New Issue
Block a user