forked from rpms/rpcbind
- Reworked logic in initscript so the correct exit is used when networking
does not exist or is set up incorrectly.
This commit is contained in:
parent
b4db9b3abe
commit
33dfe4f6c2
@ -39,7 +39,7 @@ start() {
|
|||||||
exit 6
|
exit 6
|
||||||
fi
|
fi
|
||||||
# Check that networking is up.
|
# Check that networking is up.
|
||||||
[ "$NETWORKING" = "no" ] && exit 6
|
[ "$NETWORKING" = "yes" ] || exit 6
|
||||||
[ -f /sbin/$prog ] || exit 5
|
[ -f /sbin/$prog ] || exit 5
|
||||||
|
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Mapper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -127,6 +127,11 @@ fi
|
|||||||
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1.4-11
|
||||||
|
- Reworked logic in initscript so the correct exit is
|
||||||
|
used when networking does not exist or is set up
|
||||||
|
incorrectly.
|
||||||
|
|
||||||
* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 0.1.4-10
|
* Tue Oct 16 2007 Steve Dickson <steved@redhat.com> 0.1.4-10
|
||||||
- Corrected a typo in the initscript from previous
|
- Corrected a typo in the initscript from previous
|
||||||
commit.
|
commit.
|
||||||
|
Loading…
Reference in New Issue
Block a user