]> scripts.mit.edu Git - xen.git/commitdiff
Fix network bridge script
authorroot <root@not-forward.mit.edu>
Sat, 6 Jun 2009 20:19:47 +0000 (16:19 -0400)
committerroot <root@not-forward.mit.edu>
Sat, 6 Jun 2009 20:19:47 +0000 (16:19 -0400)
scripts/scripts-network-bridge

index dbe70c1c9a0fe600f8b9a4171d9d5891117ed160..517f0d7399b78d319211cd89ab769db92b609993 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/bash
 
-./network-bridge netdev=eth0 "$@"
-./network-bridge netdev=eth1 "$@"
+dir=`dirname $0`
+${dir}/network-bridge netdev=eth0 "$@"
+${dir}/network-bridge netdev=eth1 "$@"