Searched refs:IPF_LOCK (Results 1 – 1 of 1) sorted by relevance
43 IPF_LOCK=/var/run/ipflock501 if [ -f "$IPF_LOCK/pid" ]; then502 curpid=`cat $IPF_LOCK/pid 2>/dev/null`508 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1515 mkdir $IPF_LOCK 2>/dev/null && break;518 echo $newpid > $IPF_LOCK/pid526 if [ -f "$IPF_LOCK/pid" ]; then527 [ "`cat $IPF_LOCK/pid`" = "$$" ] && rm -r $IPF_LOCK