From 33dfe4f6c2214e10a9f691b073652fbbe7c76698 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Wed, 17 Oct 2007 18:41:39 +0000 Subject: [PATCH] - Reworked logic in initscript so the correct exit is used when networking does not exist or is set up incorrectly. --- rpcbind.init | 2 +- rpcbind.spec | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/rpcbind.init b/rpcbind.init index 3f67ea6..daf4f18 100755 --- a/rpcbind.init +++ b/rpcbind.init @@ -39,7 +39,7 @@ start() { exit 6 fi # Check that networking is up. - [ "$NETWORKING" = "no" ] && exit 6 + [ "$NETWORKING" = "yes" ] || exit 6 [ -f /sbin/$prog ] || exit 5 echo -n $"Starting $prog: " diff --git a/rpcbind.spec b/rpcbind.spec index 9c4a278..76a8022 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -2,7 +2,7 @@ Name: rpcbind Version: 0.1.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: GPL @@ -127,6 +127,11 @@ fi %dir %attr(700,rpc,rpc) /var/lib/rpcbind %changelog +* Wed Oct 17 2007 Steve Dickson 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 0.1.4-10 - Corrected a typo in the initscript from previous commit.