From: Ronnie Sahlberg Date: Tue, 10 Jul 2007 00:07:26 +0000 (+1000) Subject: run the ctdb killtcp in the background X-Git-Tag: tevent-0.9.20~348^2~2462^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c32f65ee03008d4f0339785c69bed8f156baebe;p=thirdparty%2Fsamba.git run the ctdb killtcp in the background (This used to be ctdb commit d6a514c2b3d427099ed669eef104146608378fa8) --- diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index 47f8a903a6b..5d03b7c75db 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 - ctdb killtcp $destip:$destport $srcip:$srcport + 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