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