mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
546c21afe1
commit
1d52073334
1 file changed
+1
-1
@@ -29,7 +29,7 @@ xendriverdomain_startcmd()
|
||||
{
|
||||
printf "Starting xenservices: xl devd."
|
||||
|
||||
${sbindir}/xl devd --pidfile=$XLDEVD_PIDFILE ${XLDEVD_ARGS}
|
||||
PATH="${bindir}:${sbindir}:$PATH" ${sbindir}/xl devd --pidfile ${XLDEVD_PIDFILE} ${XLDEVD_ARGS}
|
||||
|
||||
printf "\n"
|
||||
}
|
||||
|
||||