tinc/scripts/subnet-down

7 lines
90 B
Plaintext
Raw Normal View History

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