]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
run the ctdb killtcp in the background
authorRonnie Sahlberg <sahlberg@ronnie>
Tue, 10 Jul 2007 00:07:26 +0000 (10:07 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Tue, 10 Jul 2007 00:07:26 +0000 (10:07 +1000)
(This used to be ctdb commit d6a514c2b3d427099ed669eef104146608378fa8)

ctdb/config/events.d/60.nfs

index 47f8a903a6b423737917567c94cca88a9b493a95..5d03b7c75db8700fd7d02255a0fdae8868aee7bd 100755 (executable)
@@ -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