Make the latest network-bridge tweaks work in a busybox environment too.

Signed-off-by: David Lively <dlively@virtualiron.com>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2006-05-19 22:00:28 +01:00
1 parent 25dd77a19b
commit 8a7ecff138
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@ dir=$(dirname "$0")
findCommand "$@"
evalVariables "$@"
vifnum=${vifnum:-$(ip route list | awk '/^default / { sub(/^(eth|xenbr)/,"",$NF); print $NF }')}
vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed -r 's/[^0-9]+//')}
bridge=${bridge:-xenbr${vifnum}}
netdev=${netdev:-eth${vifnum}}
antispoof=${antispoof:-no}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.