[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [TOOLS] Rename chekc_hotplug to check_udev and fix permissions.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 85f331c7af7670d10fa2f6a79cb1ce351ae713b7
# Parent  11a93cc59159a1b8f7ee459534f3a7377bdfe375
[TOOLS] Rename chekc_hotplug to check_udev and fix permissions.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/check/check_hotplug |   16 ----------------
 tools/check/check_udev    |   16 ++++++++++++++++
 2 files changed, 16 insertions(+), 16 deletions(-)

diff -r 11a93cc59159 -r 85f331c7af76 tools/check/check_udev
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/check/check_udev    Wed Nov 15 14:59:57 2006 +0000
@@ -0,0 +1,16 @@
+#!/bin/bash
+# CHECK-INSTALL
+
+function error {
+   echo
+   echo '  *** Check for udev/hotplug FAILED'
+   exit 1
+}
+[ -x "$(which udevinfo)" ] && \
+  UDEV_VERSION=$(udevinfo -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
+
+if [ -n "$UDEV_VERSION" ] && [ $UDEV_VERSION -ge 059 ]; then
+  exit 0
+fi
+
+which hotplug 1>/dev/null 2>&1 || error
diff -r 11a93cc59159 -r 85f331c7af76 tools/check/check_hotplug
--- a/tools/check/check_hotplug Wed Nov 15 14:36:10 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-#!/bin/bash
-# CHECK-INSTALL
-
-function error {
-   echo
-   echo '  *** Check for the hotplug scripts (hotplug) FAILED'
-   exit 1
-}
-[ -x "$(which udevinfo)" ] && \
-  UDEV_VERSION=$(udevinfo -V | sed -e 's/^[^0-9]* 
\([0-9]\{1,\}\)[^0-9]\{0,\}/\1/')
-
-if [ -n "$UDEV_VERSION" ] && [ $UDEV_VERSION -ge 059 ]; then
-  exit 0
-fi
-
-which hotplug 1>/dev/null 2>&1 || error

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.