blob: 8e562a462608a45504461332330c290cd9827152 (
plain) (
tree)
|
|
#!/bin/sh
# This file closes down the tap device.
source /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
|