Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/svc/shell/
H A Dipf_include.sh43 IPF_LOCK=/var/run/ipflock
501 if [ -f "$IPF_LOCK/pid" ]; then
502 curpid=`cat $IPF_LOCK/pid 2>/dev/null`
508 ps -p $curpid >/dev/null 2>&1 || rm -r $IPF_LOCK >/dev/null 2>&1
515 mkdir $IPF_LOCK 2>/dev/null && break;
518 echo $newpid > $IPF_LOCK/pid
526 if [ -f "$IPF_LOCK/pid" ]; then
527 [ "`cat $IPF_LOCK/pid`" = "$$" ] && rm -r $IPF_LOCK