#!/bin/bash
-# use the bridge as set up by qemu-bridge-init start
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2010 INRIA
+#
+# 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
-qemu-bridge-init add $1
+cd $(dirname $0)
+exec ./qemu-bridge-init add $1