diff options
Diffstat (limited to 'ImmaeEu-down')
-rw-r--r--[-rwxr-xr-x] | ImmaeEu-down | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ImmaeEu-down b/ImmaeEu-down index 8e562a4..db41301 100755..100644 --- a/ImmaeEu-down +++ b/ImmaeEu-down | |||
@@ -1,11 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # This file closes down the tap device. | 2 | # This file closes down the tap device. |
3 | 3 | ||
4 | source /tmp/tinc_$NETNAME | 4 | source /sdcard/.tinc/vars |
5 | rm -f /tmp/tinc_$NETNAME | 5 | rm /sdcard/.tinc/vars |
6 | |||
6 | ip -6 route del default via $GWIP | 7 | ip -6 route del default via $GWIP |
7 | for MYIP in $MYIPS; do | 8 | for MYIP in $MYIPS; do |
8 | ip -6 addr del $MYIP/96 dev $INTERFACE | 9 | ip -6 addr del $MYIP/96 dev vpn6 |
9 | done | 10 | done |
10 | ip -6 link set $INTERFACE down | 11 | ip -6 link set vpn6 down |
11 | 12 | ||