Searched refs:IPF_LOCK (Results 1 – 1 of 1) sorted by relevance
45 IPF_LOCK=/var/run/ipflock421 if [ -f "$IPF_LOCK/pid" ]; then422 curpid=`cat $IPF_LOCK/pid 2>/dev/null`428 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1435 mkdir $IPF_LOCK 2>/dev/null && break;438 echo $newpid > $IPF_LOCK/pid446 if [ -f "$IPF_LOCK/pid" ]; then447 [ "`cat $IPF_LOCK/pid`" = "$$" ] && rm -r $IPF_LOCK