From 6c29e53f996f0726f1cf54aa92a23e1f0a779a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 9 Oct 2023 17:25:24 +0200 Subject: Add failsafe --- ImmaeEu-down | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ImmaeEu-down') diff --git a/ImmaeEu-down b/ImmaeEu-down index daee563..d983a3b 100755 --- a/ImmaeEu-down +++ b/ImmaeEu-down @@ -3,7 +3,7 @@ [ -e /tmp/tinc_$NETNAME ] && . /tmp/tinc_$NETNAME [ -e /run/tinc_$NETNAME.vars ] && . /run/tinc_$NETNAME.vars -rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars +rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars || true [ -n "$GWIP" ] && ip -6 route del default via $GWIP table 655 for MYIP in $MYIPS; do ip -6 addr del $MYIP/96 dev $INTERFACE -- cgit v1.2.3