Update subnet-up.tmpl
This commit is contained in:
parent
e7df65037b
commit
5e833c5471
@ -1,6 +1,6 @@
|
|||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
echo "Route up: \$SUBNET weight \$WEIGHT via \$NODE (\$REMOTEADDRESS:\$REMOTEPORT)"
|
echo "Route up: \$SUBNET weight \$WEIGHT via \$NODE (\$REMOTEADDRESS:\$REMOTEPORT)"
|
||||||
nonMACChars=`echo \$SUBNET | tr -d "[:digit:]" | tr -d [:ABCDEF]`
|
nonMACChars=`echo \$SUBNET | tr -d "[:digit:]" | tr -d [:ABCDEFabcdef]`
|
||||||
macFile="/tmp/tinc_peer_mac_\$NODE"
|
macFile="/tmp/tinc_peer_mac_\$NODE"
|
||||||
if [ -z "\$nonMACChars" ]; then
|
if [ -z "\$nonMACChars" ]; then
|
||||||
# This subnet is a MAC
|
# This subnet is a MAC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user