Searched refs:IPF_LOCK (Results 1 - 1 of 1) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/svc/shell/
H A Dipf_include.sh45 IPF_LOCK=/var/run/ipflock
421 if [ -f "$IPF_LOCK/pid" ]; then
422 curpid=`cat $IPF_LOCK/pid 2>/dev/null`
428 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1
435 mkdir $IPF_LOCK 2>/dev/null && break;
438 echo $newpid > $IPF_LOCK/pid
446 if [ -f "$IPF_LOCK/pid" ]; then
447 [ "`cat $IPF_LOCK/pid`" = "$$" ] && rm -r $IPF_LOCK

Completed in 44 milliseconds