From: Roger Pau Monne Date: Mon, 20 Jul 2015 14:55:02 +0000 (+0200) Subject: hotplug/FreeBSD: fix xendriverdomain rc.d script X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2743 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2eb3a43b2e6e08582667ad302e8ec5a7d5897611;p=xen.git hotplug/FreeBSD: fix xendriverdomain rc.d script hotplugpath.sh by default is located in /usr/local/etc/xen/scripts on FreeBSD. Instead of hardcoding it's location use the XEN_SCRIPT_DIR variable like it's used on the xencommons rc.d script. Signed-off-by: Roger Pau Monné Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Acked-by: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in index 25e3edd721..4063c06f33 100644 --- a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in +++ b/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in @@ -7,7 +7,7 @@ . /etc/rc.subr -. /etc/xen/scripts/hotplugpath.sh +. @XEN_SCRIPT_DIR@/hotplugpath.sh LD_LIBRARY_PATH="${libdir}" export LD_LIBRARY_PATH