]> git.deb.at Git - deb/hackedgotchi.git/commitdiff
primitive locking
authorkeybuk <keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 6 Oct 2004 17:20:42 +0000 (17:20 +0000)
committerkeybuk <keybuk@c2f067bf-98e0-425f-9c98-e76020cfa380>
Wed, 6 Oct 2004 17:20:42 +0000 (17:20 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@9 c2f067bf-98e0-425f-9c98-e76020cfa380

cron/01lock [new file with mode: 0755]
cron/99unlock [new file with mode: 0755]

diff --git a/cron/01lock b/cron/01lock
new file mode 100755 (executable)
index 0000000..f3b6c5d
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /org/planet.debian.org/log
+touch LOCK
diff --git a/cron/99unlock b/cron/99unlock
new file mode 100755 (executable)
index 0000000..0d71314
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /org/planet.debian.org/log
+rm -f LOCK