[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] add a way to disable xen's udev script.
Add a way to disable xen's udev scripts by using a dummy file. Signed-off-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx> diff --git a/tools/hotplug/Linux/xen-hotplug-common.sh b/tools/hotplug/Linux/xen-hotplug-common.sh index 370f9ad..e248cae 100644 --- a/tools/hotplug/Linux/xen-hotplug-common.sh +++ b/tools/hotplug/Linux/xen-hotplug-common.sh @@ -22,6 +22,8 @@ dir=$(dirname "$0") . "$dir/xen-script-common.sh" . "$dir/locking.sh" +[ -f "$dir/NOEXE" ] && exit 0 + exec 2>>/var/log/xen/xen-hotplug.log export PATH="${BINDIR}:${SBINDIR}:${LIBEXEC}:${PRIVATE_BINDIR}:/sbin:/bin:/usr/bin:/usr/sbin:$PATH" _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |