init/FreeBSD: set correct PATH for xl devd
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 19 Dec 2016 15:02:01 +0000 (15:02 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 21 Dec 2016 16:32:30 +0000 (16:32 +0000)
commit1d52073334d7615934fe804bc656b7aab0e92ebd
treee6417081c9ba430805f982ab27aadb838d75d140
parent546c21afe1c84266d22055d16c9122899f9f6a21
init/FreeBSD: set correct PATH for xl devd

FreeBSD init scripts don't have /usr/local/{bin/sbin} in it's PATH, which
prevents `xl devd` from working properly since hotplug scripts require the set
of xenstore cli tools to be in PATH.

While there also fix the usage of --pidfile, which according to the xl help
doesn't use "=", and add braces around XLDEVD_PIDFILE.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/hotplug/FreeBSD/rc.d/xendriverdomain.in