Update subnet-up.tmpl

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

View File

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