[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 11/13] tools/hotplug: use XEN_LOCK_DIR instead of hardcoded path
Use XEN_LOCK_DIR because it is a compiletime setting. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> --- tools/hotplug/Linux/xendomains.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/hotplug/Linux/xendomains.in b/tools/hotplug/Linux/xendomains.in index 0882ef6..792b755 100644 --- a/tools/hotplug/Linux/xendomains.in +++ b/tools/hotplug/Linux/xendomains.in @@ -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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |