blob: db41301aee59670f6be9a8f1e300b167e34ab47d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# This file closes down the tap device.
source /sdcard/.tinc/vars
rm /sdcard/.tinc/vars
ip -6 route del default via $GWIP
for MYIP in $MYIPS; do
ip -6 addr del $MYIP/96 dev vpn6
done
ip -6 link set vpn6 down
|