summaryrefslogtreecommitdiffstats
path: root/bin/sync-openbsd-ftp-tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync-openbsd-ftp-tree.sh')
-rwxr-xr-xbin/sync-openbsd-ftp-tree.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/bin/sync-openbsd-ftp-tree.sh b/bin/sync-openbsd-ftp-tree.sh
index ed0ddcc..0a8074e 100755
--- a/bin/sync-openbsd-ftp-tree.sh
+++ b/bin/sync-openbsd-ftp-tree.sh
@@ -3,7 +3,6 @@
# See http://www.openbsd.org/ftp.html for up-to-date mirror list!
REMOTE=rsync://ftp.eu.openbsd.org/OpenBSD/
PUBDIR=/raid/ftp/pub/OpenBSD
-LOCKFILE=/tmp/`basename ${0}`.lock
if [ "$1" = "-v" ]; then
verbose="-v"
@@ -11,7 +10,6 @@ else
verbose="-q"
fi
-lockfile -r 3 ${LOCKFILE} || exit 1
rsync $verbose -a -i --recursive --times --links --hard-links --delete \
--exclude="/[2-3].[0-9]" \
--exclude="/4.[0-8]" \
@@ -21,4 +19,3 @@ rsync $verbose -a -i --recursive --times --links --hard-links --delete \
--exclude="/README" \
--exclude="/README~" \
${REMOTE} ${PUBDIR}
-rm -f ${LOCKFILE}