From: Ismaƫl Bouya Date: Fri, 24 Nov 2017 09:38:40 +0000 (+0100) Subject: Add auto git pull X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=bd13fdc86a49693180d1684b6a0d0eff74b8bd22;p=perso%2FImmae%2FConfig%2Ftinc%2Fhosts.git Add auto git pull --- diff --git a/ImmaeEu-up b/ImmaeEu-up index 00eb60f..3a2e073 100755 --- a/ImmaeEu-up +++ b/ImmaeEu-up @@ -21,3 +21,4 @@ for MYIP in $MYIPS; do ip -6 addr add $MYIP/96 dev $INTERFACE done ip -6 route add default via $GWIP +(cd /etc/tinc/$NETNAME/hosts && git pull -q origin master) || true