reviewed list options parsing
[tests.git] / system / template-qemu / qemu-ifup
index 877496e..c929270 100755 (executable)
@@ -1,5 +1,10 @@
 #!/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