Update subnet-up.tmpl

This commit is contained in:
Manevolent 2023-04-12 21:28:24 -06:00 committed by GitHub
parent c51bb2400b
commit 89c07155f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/ash
echo "Route up: $SUBNET via $INTERFACE"
if [ ! $NAME != $NODE ]; then
echo "Route up: $SUBNET via $INTERFACE"
ip route add $SUBNET dev $INTERFACE
fi