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

7 lines
90 B
Bash
Executable File

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