Searched refs:LOCKDIR (Results 1 – 1 of 1) sorted by relevance
66 LOCKDIR="$VARDIR/lock"790 [ -w "$VARDIR" ] || error_exit "Cannot write to $LOCKDIR"793 if mkdir "$LOCKDIR" 2>/dev/null; then796 echo $$ >"$LOCKDIR/pid"799 pid=$(cat "$LOCKDIR/pid")802 rm -rf "$LOCKDIR"