X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=ImmaeEu-up;h=56710a195556d9bf3f6451ff8c5d5ca25f2410eb;hb=062aff6713640b40449d19fbc1c423e29fdc705f;hp=3a2e073179587e9363cdb2b9fdcd7bbfd3e8ed2c;hpb=07ebb0b011fc2fa862113c12f7fdec337109bd64;p=perso%2FImmae%2FConfig%2Ftinc%2Fhosts.git diff --git a/ImmaeEu-up b/ImmaeEu-up index 3a2e073..56710a1 100755 --- a/ImmaeEu-up +++ b/ImmaeEu-up @@ -11,7 +11,7 @@ SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` while [ -z "$MYIPS" -o -z "$GWIP" ]; do MYIPS=`getent hosts ${SUBDOMAIN}.immae.eu | cut -d' ' -f1 | tr "\\n" ' '` - GWIP=`getent hosts vpn.immae.eu | head -n1 | cut -d' ' -f1` + GWIP=`getent hosts gw.vpn.immae.eu | head -n1 | cut -d' ' -f1` sleep 5 done rm -f /tmp/tinc_$NETNAME