#!/bin/sh

switch=$(ip route list | awk '/^default / { print $5 }')
ifconfig $1 0.0.0.0 up
brctl addif ${switch} $1
