summaryrefslogtreecommitdiffstats
path: root/retiolum/doc
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2012-12-07 22:43:30 +0100
committermakefu <github@syntax-fehler.de>2012-12-07 22:43:30 +0100
commitb52d35020351cf03c55b9561746e0874e1e13e9d (patch)
treeb97bf943ac9e042656247a5fc5f9fb72030c867f /retiolum/doc
parentad09d521243d9275d2af99b5aa5b67b9f79d3a77 (diff)
parenta417442f720a1590fc16af93af421a06a00200ea (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/doc')
-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