Update subnet-up.tmpl

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

View File

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