tinc/scripts/subnet-up
2017-05-23 13:18:24 +02:00

7 lines
83 B
Bash
Executable File

#!/bin/sh
if [ "$NODE" != "$NAME" ]
then
ip route add $SUBNET dev $INTERFACE
fi