From 9f6d6948a69ccfd69c52330f3317bb75de55aa3c Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Wed, 16 Aug 2006 14:39:56 +0000 Subject: [PATCH] - Allow variable for HA callout program in /etc/init.d/nfslock (bz 201897) --- nfs-utils.spec | 6 +++++- nfslock.init | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nfs-utils.spec b/nfs-utils.spec index 99a7b4e..cf612f5 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -1,7 +1,7 @@ Summary: NFS utlilities and supporting daemons for the kernel NFS server. Name: nfs-utils Version: 1.0.9 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 # group all 32bit related archs @@ -249,6 +249,10 @@ fi %endif %changelog +* Wed Aug 16 2006 1.0.9-2 +- Allow variable for HA callout program in /etc/init.d/nfslock + (bz 201897) + * Wed Aug 02 2006 1.0.9-3 - add epoch (#196359) diff --git a/nfslock.init b/nfslock.init index 4856789..f984140 100755 --- a/nfslock.init +++ b/nfslock.init @@ -74,6 +74,9 @@ start() { [ -n "$STATD_PORT" ] && STATDARG="$STATDARG -p $STATD_PORT" [ -n "$STATD_OUTGOING_PORT" ] \ && STATDARG="$STATDARG -o $STATD_OUTGOING_PORT" + # See if we have an HA-callout program specified + [ -n "$STATD_HA_CALLOUT" ] \ + && STATDARG="$STATDARG -H $STATD_HA_CALLOUT" daemon rpc.statd "$STATDARG" RETVAL=$? echo