lixonet-ee/tinc/subnet-down.tmpl

7 lines
96 B
Cheetah
Raw Normal View History

2020-04-28 00:17:03 +00:00
#!/bin/ash
2023-04-12 21:28:41 -06:00
echo "Route down: $SUBNET"
2020-04-28 00:17:03 +00:00
if [ ! $NAME != $NODE ]; then
ip route del $SUBNET
fi