#!/bin/bash # this is the script provided to the qemu command-line, that qemu invokes to init the net device # basically this adds the interface to the bridge cd $(dirname $0) exec ./qemu-bridge-init add $1