diff options
-rwxr-xr-x | ImmaeEu-up | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ | |||
11 | SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` | 11 | SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` |
12 | while [ -z "$MYIPS" -o -z "$GWIP" ]; do | 12 | while [ -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 |
16 | done | 16 | done |
17 | rm -f /tmp/tinc_$NETNAME | 17 | rm -f /tmp/tinc_$NETNAME |