Comment 1 for bug 931423

Revision history for this message
Stefan Bader (smb) wrote :

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