diff options
author | makefu <github@syntax-fehler.de> | 2013-01-04 06:36:26 +0700 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-04 06:36:26 +0700 |
commit | 2bcf2f215b9b5e1caa3ec7934c7e7b9fb255147d (patch) | |
tree | 18d7bd40eb31237c881c7acaf15ec613dce70673 /minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update | |
parent | 577c64f0c8e70081a2226522cbfc18c393dcb5e3 (diff) |
rebuild minikrebs folder
Diffstat (limited to 'minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update')
-rwxr-xr-x | minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update new file mode 100755 index 00000000..2c6ec432 --- /dev/null +++ b/minikrebs/profiles/heckenkrebs/customfiles/usr/bin/tinc-update @@ -0,0 +1,4 @@ +#!/bin/sh +if test -e /etc/tinc/retiolum; then + if ping -c 1 euer.krebsco.de -W 5 &>/dev/null; then (curl http://euer.krebsco.de/retiolum/supernodes.tar.gz | tar xz -C /etc/tinc/retiolum/hosts/);fi +fi |