summaryrefslogtreecommitdiffstats
path: root/bin/sync-crux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync-crux.sh')
-rwxr-xr-xbin/sync-crux.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/sync-crux.sh b/bin/sync-crux.sh
index 9b14f6b..30c52a8 100755
--- a/bin/sync-crux.sh
+++ b/bin/sync-crux.sh
@@ -5,11 +5,5 @@ OPTS="--quiet --recursive --links --perms --times --devices --delete --timeout=6
SRC="rsync://rsync.crux.nu/crux/"
DST="/mirror/ftp/pub/crux/"
-lockfile=/tmp/`basename $0`.lock
-
-if lockfile -r 5 $lockfile
-then
- ${RSYNC} ${OPTS} ${SRC} ${DST}
- echo "End: "`date`
- rm -f $lockfile
-fi
+${RSYNC} ${OPTS} ${SRC} ${DST}
+echo "End: "`date`