The following change to vif-setup will allow vifscript to be used without an explicit path:
@@ -1,9 +1,13 @@ #!/bin/bash
+. "$(dirname $0)/hotplugpath.sh" + +PATH=$XEN_SCRIPT_DIR:$PATH + if test "$script" then exec $script $* else - exec /etc/xen/scripts/vif-bridge $* + exec $XEN_SCRIPT_DIR/vif-bridge $* fi
The following change to vif-setup will allow vifscript to be used without an explicit path:
@@ -1,9 +1,13 @@
#!/bin/bash
+. "$(dirname $0)/hotplugpath.sh" XEN_SCRIPT_ DIR:$PATH scripts/ vif-bridge $* DIR/vif- bridge $*
+
+PATH=$
+
if test "$script"
then
exec $script $*
else
- exec /etc/xen/
+ exec $XEN_SCRIPT_
fi