1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

ctdb killtcp no longer takes a <numrst> 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)
This commit is contained in:
Ronnie Sahlberg 2007-07-12 08:31:56 +10:00
parent 76ab80104a
commit 4b6d9485ab

View File

@ -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