From: Wei Liu Subject: Re: [PATCH for-4.6 3/3] hotplug/FreeBSD: fix xendriverdomain rc.d script Date: Tue, 21 Jul 2015 12:03:30 +0100 Message-ID: <20150721110330.GQ12455@zion.uk.xensource.com> References: <1437404102-7807-1-git-send-email-roger.pau@citrix.com> <1437404102-7807-4-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZHVLP-00043U-JA for xen-devel@lists.xenproject.org; Tue, 21 Jul 2015 11:04:19 +0000 Content-Disposition: inline In-Reply-To: <1437404102-7807-4-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Ian Jackson , Ian Campbell , Wei Liu List-Id: xen-devel@lists.xenproject.org On Mon, Jul 20, 2015 at 04:55:02PM +0200, Roger Pau Monne wrote: > 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 varia= ble > like it's used on the xencommons rc.d script. > = > Signed-off-by: Roger Pau Monn=E9 > Cc: Ian Jackson > Cc: Ian Campbell > Cc: Wei Liu Acked-by: Wei Liu > --- > tools/hotplug/FreeBSD/rc.d/xendriverdomain.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/tools/hotplug/FreeBSD/rc.d/xendriverdomain.in b/tools/hotplu= g/FreeBSD/rc.d/xendriverdomain.in > index 25e3edd..4063c06 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=3D"${libdir}" > export LD_LIBRARY_PATH > -- = > 1.9.5 (Apple Git-50.3)