]> git.immae.eu Git - perso/Immae/Config/tinc/hosts.git/blob - ImmaeEu-down
657b83f02d88a8b26e38983ec34be804172394e7
[perso/Immae/Config/tinc/hosts.git] / ImmaeEu-down
1 #!/system/xbin/sh
2 # This file closes down the tap device.
3
4 source /sdcard/.tinc/vars
5 rm /sdcard/.tinc/vars
6
7 ip -6 route del default via $GWIP
8 for MYIP in $MYIPS; do
9 ip -6 addr del $MYIP/96 dev vpn6
10 done
11 ip -6 link set vpn6 down
12