#!/bin/bash

# Actually need to run through configs and identify which one has the
# relevant tapN interface, and which bridge it should be attached to

BRIF=br0
echo "Connecting interface $1 to bridge $BRIF"
/sbin/ifconfig $1 0.0.0.0 promisc up
/usr/sbin/brctl addif $BRIF $1
