summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xImmaeEu-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/ImmaeEu-up b/ImmaeEu-up
index 3a2e073..56710a1 100755
--- a/ImmaeEu-up
+++ b/ImmaeEu-up
@@ -11,7 +11,7 @@
11SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` 11SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine`
12while [ -z "$MYIPS" -o -z "$GWIP" ]; do 12while [ -z "$MYIPS" -o -z "$GWIP" ]; do
13 MYIPS=`getent hosts ${SUBDOMAIN}.immae.eu | cut -d' ' -f1 | tr "\\n" ' '` 13 MYIPS=`getent hosts ${SUBDOMAIN}.immae.eu | cut -d' ' -f1 | tr "\\n" ' '`
14 GWIP=`getent hosts vpn.immae.eu | head -n1 | cut -d' ' -f1` 14 GWIP=`getent hosts gw.vpn.immae.eu | head -n1 | cut -d' ' -f1`
15 sleep 5 15 sleep 5
16done 16done
17rm -f /tmp/tinc_$NETNAME 17rm -f /tmp/tinc_$NETNAME