Searched refs:lockdir (Results 1 – 5 of 5) sorted by relevance
22 lockdir=/var/lock/subsys67 [ $RETVAL -eq 0 ] && touch $lockdir/$prog75 [ $RETVAL -eq 0 ] && rm -f $lockdir/$prog128 if [ -f $lockdir/$prog ]; then
317 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d319 if mkdir "$lockdir" >/dev/null 2>&1; then325 trap "rmdir '$lockdir'; exit 1" 1 2 15337 rmdir "$lockdir"
384 lockdir=$base.d-lock387 rmdir '$lockdir'394 if mkdir "$lockdir" 2>/dev/null; then399 rmdir "$lockdir"404 while test -d "$lockdir" && test $i -gt 0; do414 echo "$0: check lockdir '$lockdir'" >&2
248 def check_free_port(self, host, port, lockdir): argument253 lockfile = os.path.join(lockdir, str(port) + '.lock')1082 lockdir = "/tmp/qemu-port-locks"1083 if not os.path.exists(lockdir):1087 os.mkdir(lockdir)1088 os.chmod(lockdir, 0o777)1095 while not self.check_free_port('localhost', p_new, lockdir):1122 lockdir = "/tmp/qemu-tap-locks"1130 if not os.path.exists(lockdir):1134 os.mkdir(lockdir)[all …]
116 --with-lockdir=${localstatedir}/lib/samba \