summaryrefslogtreecommitdiffstats
path: root/slackware/slackware.sh
diff options
context:
space:
mode:
authorGeorg2021-08-30 21:12:43 +0200
committerGeorg2021-08-30 21:12:43 +0200
commitc33888a3c64de6c3d8e64b99c723b65e9e93c76d (patch)
tree95b6fe87687e2ba1823d1775c167b4f089e97e24 /slackware/slackware.sh
parent278e838dee41dd36b1665b14b229f9c1fcba5539 (diff)
downloadmirror-c33888a3c64de6c3d8e64b99c723b65e9e93c76d.tar.gz
mirror-c33888a3c64de6c3d8e64b99c723b65e9e93c76d.tar.bz2
mirror-c33888a3c64de6c3d8e64b99c723b65e9e93c76d.zip
Init Slackware mirrorHEADmaster
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'slackware/slackware.sh')
-rwxr-xr-xslackware/slackware.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/slackware/slackware.sh b/slackware/slackware.sh
new file mode 100755
index 0000000..bddf714
--- /dev/null
+++ b/slackware/slackware.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+ORIGIN="ftp6.gwdg.de/pub/linux/slackware/"
+echo "#universe +++ Starting mirror sync: Slackware ..." |& nc -N 127.0.0.2 2424
+/usr/bin/withlock /mnt/mirror/meta/mirror-slackware.lock rsync -hiav \
+--delete --delete-after \
+--no-o --no-g --safe-links \
+--timeout=60 --contimeout=30 \
+--exclude-from=/mnt/mirror/meta/slackware-exclusions \
+rsync://$ORIGIN \
+/mnt/mirror/slackware/ |& nc -N 127.0.0.2 2424
+echo "#universe +++ Synced with $ORIGIN." |& nc -N 127.0.0.2 2424