]>
git.immae.eu Git - perso/Immae/Config/tinc/hosts.git/blob - ImmaeEu-down
2 # This file closes down the tap device.
4 [ -e /tmp
/tinc_
$NETNAME ] && .
/tmp
/tinc_
$NETNAME
5 [ -e /run
/tinc_
$NETNAME.vars
] && .
/run
/tinc_
$NETNAME.vars
6 rm -f /tmp
/tinc_
$NETNAME /run
/tinc_
$NETNAME.vars
7 [ -n "$GWIP" ] && ip
-6 route del default via
$GWIP table
655
9 ip
-6 addr del
$MYIP/96 dev
$INTERFACE
10 ip
-6 rule del from
$MYIP/96 table
655
11 ip
-6 rule del to
$MYIP/96 table
655
13 ip
-6 link
set $INTERFACE down