summaryrefslogtreecommitdiffstats
path: root/retiolum/doc/cronjob
diff options
context:
space:
mode:
Diffstat (limited to 'retiolum/doc/cronjob')
-rw-r--r--retiolum/doc/cronjob6
1 files changed, 5 insertions, 1 deletions
diff --git a/retiolum/doc/cronjob b/retiolum/doc/cronjob
index 7b173633..3f640311 100644
--- a/retiolum/doc/cronjob
+++ b/retiolum/doc/cronjob
@@ -1,3 +1,7 @@
cron-eintrag fuer automatisches hosts-update
-if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl euer.krebsco.de/hosts.tar | tar xk -C /etc/tinc/retiolum/hosts/);fi
+ueberschreibt keine bearbeitete host-dateien
+if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl http://euer.krebsco.de/retiolum/hosts.tar.gz | tar xzk -C /etc/tinc/retiolum/hosts/);fi
+
+ueberschreibt bearbeitete hostdateien
+if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl http://euer.krebsco.de/retiolum/hosts.tar.gz | tar xz -C /etc/tinc/retiolum/hosts/);fi