]> git.immae.eu Git - perso/Immae/Config/tinc/hosts.git/blame - ImmaeEu-down
Add ThibaultNas key
[perso/Immae/Config/tinc/hosts.git] / ImmaeEu-down
CommitLineData
5618bf79
IB
1#!/bin/sh
2# This file closes down the tap device.
3
b6c45293 4. /tmp/tinc_$NETNAME
5618bf79
IB
5rm -f /tmp/tinc_$NETNAME
6ip -6 route del default via $GWIP
7for MYIP in $MYIPS; do
8 ip -6 addr del $MYIP/96 dev $INTERFACE
9done
10ip -6 link set $INTERFACE down
11