summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-09-09 07:06:20 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-09-09 07:06:20 +0700
commitc803150580cc1faf88243e44ed711717aa7847f7 (patch)
tree380fc8634adcaca02c02f528909edee0d94bcdec /app-emulation/xen-tools/files/xenqemudev.initd
parentsys-apps: dropped firejail stuff (diff)
downloadvirtualization-master.tar.gz
virtualization-master.tar.bz2
virtualization-master.zip
xen cleanupHEADmaster
Diffstat (limited to 'app-emulation/xen-tools/files/xenqemudev.initd')
-rw-r--r--app-emulation/xen-tools/files/xenqemudev.initd9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-emulation/xen-tools/files/xenqemudev.initd b/app-emulation/xen-tools/files/xenqemudev.initd
index 6f7066e..90da3ac 100644
--- a/app-emulation/xen-tools/files/xenqemudev.initd
+++ b/app-emulation/xen-tools/files/xenqemudev.initd
@@ -1,7 +1,6 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/files/xenqemudev.initd,v 1.2 2013/12/07 06:49:41 idella4 Exp $
depend() {
need xencommons xenstored xenconsoled
@@ -16,7 +15,11 @@ xen_setvars() {
. /etc/xen/scripts/hotplugpath.sh
XENQEMUDEV_PIDFILE=/run/xenqemudev.pid
+
+ # xen-4.5 change the path
XEN_QEMU="${LIBEXEC}/qemu-system-i386"
+ [ -e ${XEN_QEMU} ] && return
+ XEN_QEMU="${LIBEXEC_BIN}/qemu-system-i386"
}
xen_qemu_start() {