From: Ronnie Sahlberg Date: Wed, 11 Jul 2007 22:31:56 +0000 (+1000) Subject: ctdb killtcp no longer takes a argument to control how many X-Git-Tag: tevent-0.9.20~348^2~2452^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b6d9485abba940be1cd36dae7b42953041c8d6d;p=thirdparty%2Fsamba.git ctdb killtcp no longer takes a argument to control how many times to try the reset. the reset retry attempt is now handled inside the daemon update the 60.nfs script and remove this parameter that is no longer used (This used to be ctdb commit 30fb09b8b9a989e5cfe86b6daf2dcd2487013344) --- diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 7f0710c4006..5e917aa9908 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/config/events.d/60.nfs @@ -70,8 +70,8 @@ case $cmd in srcport=`echo $src | cut -d: -f2` destip=`echo $dest | cut -d: -f1` destport=`echo $dest | cut -d: -f2` - ctdb killtcp $srcip:$srcport $destip:$destport 1 >/dev/null 2>&1 -# ctdb killtcp $destip:$destport $srcip:$srcport 1 >/dev/null 2>&1 + ctdb killtcp $srcip:$srcport $destip:$destport >/dev/null 2>&1 +# ctdb killtcp $destip:$destport $srcip:$srcport >/dev/null 2>&1 done } > /dev/null 2>&1 @@ -84,8 +84,8 @@ case $cmd in srcport=`echo $src | cut -d: -f2` destip=`echo $dest | cut -d: -f1` destport=`echo $dest | cut -d: -f2` - ctdb killtcp $srcip:$srcport $destip:$destport 1 >/dev/null 2>&1 - ctdb killtcp $destip:$destport $srcip:$srcport 1 >/dev/null 2>&1 + ctdb killtcp $srcip:$srcport $destip:$destport >/dev/null 2>&1 + ctdb killtcp $destip:$destport $srcip:$srcport >/dev/null 2>&1 done } > /dev/null 2>&1 /bin/rm -f /etc/ctdb/state/nfs/restart