summaryrefslogtreecommitdiff
path: root/ImmaeEu-down
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-12 17:02:27 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-12 17:02:27 +0100
commit88e66de272bf09750d2096752dcd4e5fc344cbc3 (patch)
tree60fd82d4d235d08aca624839808d2aaec9e0d623 /ImmaeEu-down
parentdbf5d2834a4e912a9787201313219a817b5c26a4 (diff)
downloadhosts-88e66de272bf09750d2096752dcd4e5fc344cbc3.tar.gz
hosts-88e66de272bf09750d2096752dcd4e5fc344cbc3.tar.zst
hosts-88e66de272bf09750d2096752dcd4e5fc344cbc3.zip
Fix typo in for loop
Diffstat (limited to 'ImmaeEu-down')
-rwxr-xr-xImmaeEu-down2
1 files changed, 1 insertions, 1 deletions
diff --git a/ImmaeEu-down b/ImmaeEu-down
index 8dc9fc4..8459778 100755
--- a/ImmaeEu-down
+++ b/ImmaeEu-down
@@ -5,7 +5,7 @@
5[ -e /run/tinc_$NETNAME.vars ] && . /run/tinc_$NETNAME.vars 5[ -e /run/tinc_$NETNAME.vars ] && . /run/tinc_$NETNAME.vars
6rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars 6rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars
7[ -n "$GWIP" ] && ip -6 route del default via $GWIP 7[ -n "$GWIP" ] && ip -6 route del default via $GWIP
8for MYIP in "$MYIPS"; do 8for MYIP in $MYIPS; do
9 ip -6 addr del $MYIP/96 dev $INTERFACE 9 ip -6 addr del $MYIP/96 dev $INTERFACE
10done 10done
11ip -6 link set $INTERFACE down 11ip -6 link set $INTERFACE down