blob: 8f8e8b99b4a96a5454427c43e5b9fe6fc2552402 [file] [log] [blame]
#!/bin/bash
switch=$(/sbin/ip route list | awk '/^default / { print $NF }')
/sbin/ifconfig $1 0.0.0.0 up
/usr/sbin/brctl addif ${switch} $1