summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/instakrebs_zc3xx/customfiles/usr/bin/tinc-update
blob: 4ff46b8fd7e3fdb0d2a26381a06b00caa6b1d4cb (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 (wget -O- http://euer.krebsco.de/retiolum/supernodes.tar.gz | tar xz -C /etc/tinc/retiolum/hosts/);fi
fi