module-tinc/templates/tinc-up.erb
2010-08-31 17:54:24 +02:00

8 lines
160 B
Text

#!/bin/sh
ifconfig $INTERFACE 0.0.0.0
ifconfig $INTERFACE up
brctl addif virbr0 $INTERFACE
ifconfig virbr0 <%= ip %> netmask 255.255.255.0
ifconfig virbr0 up