projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa86a8
)
tools/hotplug: use XEN_LOCK_DIR instead of hardcoded path
author
Olaf Hering
<olaf@aepfle.de>
Mon, 22 Sep 2014 12:59:58 +0000
(14:59 +0200)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 23 Sep 2014 09:14:16 +0000
(10:14 +0100)
Use XEN_LOCK_DIR because it is a compiletime setting.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/xendomains
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/xendomains
b/tools/hotplug/Linux/xendomains
index 0794bb973b7249b744053f73834e7ec67860c5fe..c45f13277d797be239d038cafb11484a603e1e6c 100644
(file)
--- a/
tools/hotplug/Linux/xendomains
+++ b/
tools/hotplug/Linux/xendomains
@@
-49,12
+49,7
@@
if ! [ -e /proc/xen/privcmd ]; then
exit 0
fi
-# See docs/misc/distro_mapping.txt
-if [ -d /var/lock/subsys ]; then
- LOCKFILE=/var/lock/subsys/xendomains
-else
- LOCKFILE=/var/lock/xendomains
-fi
+LOCKFILE=${XEN_LOCK_DIR}/xendomains
if [ -d /etc/sysconfig ]; then
XENDOM_CONFIG=/etc/sysconfig/xendomains