summaryrefslogtreecommitdiffstats
path: root/minikrebs/ImageBuilder/customfiles/usr/bin/tinc-update
blob: 2c6ec432c7113d9553ee3dbaaee14b82b11d1441 (plain)
1
2
3
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