mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Don't require sed to support the -r option.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
8a7ecff138
commit
e9f340a6bc
1 file changed
+1
-1
@@ -59,7 +59,7 @@ dir=$(dirname "$0")
|
||||
findCommand "$@"
|
||||
evalVariables "$@"
|
||||
|
||||
vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed -r 's/[^0-9]+//')}
|
||||
vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}
|
||||
bridge=${bridge:-xenbr${vifnum}}
|
||||
netdev=${netdev:-eth${vifnum}}
|
||||
antispoof=${antispoof:-no}
|
||||
|
||||