[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Make the latest network-bridge tweaks work in a busybox environment too.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 08353fdf4031167cd1b2c95f4559754503a944be # Parent 3c2e7925bb932cd88151d64beb3cfe985245b6c2 Make the latest network-bridge tweaks work in a busybox environment too. Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx> --- tools/examples/network-bridge | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 3c2e7925bb93 -r 08353fdf4031 tools/examples/network-bridge --- a/tools/examples/network-bridge Fri May 19 17:50:32 2006 +0100 +++ b/tools/examples/network-bridge Fri May 19 22:00:28 2006 +0100 @@ -59,7 +59,7 @@ findCommand "$@" 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} _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |