tinc/scripts/subnet-up

7 lines
83 B
Plaintext
Raw Permalink Normal View History

2017-05-23 13:18:24 +02:00
#!/bin/sh
if [ "$NODE" != "$NAME" ]
then
ip route add $SUBNET dev $INTERFACE
fi