Update subnet-down.tmpl

This commit is contained in:
Manevolent 2023-04-12 21:37:30 -06:00 committed by GitHub
parent 59e6726b98
commit c79c2ec301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,2 @@
#!/bin/ash
echo "Route down: $SUBNET"
if [ ! $NAME != $NODE ]; then
ip route del $SUBNET
fi
echo "Route down: \$SUBNET weight \$WEIGHT via \$NODE (\$REMOTEADDRESS:\$REMOTEPORT)"