mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
For example, (vif-script 'vif-bridge bridge=eth1') in xend-config.sxp will cause vif-setup to attempt to execute 'vif-bridge bridge=eth1' due to a quoting mismatch. The fix appears to be to remove the extra quotes around "$script" in vif-setup. Signed-off-by: Brendan Cully <brendan@cs.ubc.ca> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
10 lines
105 B
Bash
10 lines
105 B
Bash
#!/bin/bash
|
|
|
|
if test "$script"
|
|
then
|
|
exec $script $*
|
|
else
|
|
exec /etc/xen/scripts/vif-bridge $*
|
|
fi
|
|
|