summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-09-24 20:07:19 +0000
committerAron Griffis <agriffis@gentoo.org>2003-09-24 20:07:19 +0000
commitbb7501b35db09866308d91d3b7c5ad33cff716c4 (patch)
tree248fc767a04d59a35577389818ef672dd5417237 /sys-apps/hotplug/files
parentfix bogus error messages (diff)
downloadgentoo-2-bb7501b35db09866308d91d3b7c5ad33cff716c4.tar.gz
gentoo-2-bb7501b35db09866308d91d3b7c5ad33cff716c4.tar.bz2
gentoo-2-bb7501b35db09866308d91d3b7c5ad33cff716c4.zip
fix bogus error messages
Diffstat (limited to 'sys-apps/hotplug/files')
-rw-r--r--sys-apps/hotplug/files/digest-hotplug-20030805-r12
-rw-r--r--sys-apps/hotplug/files/hotplug.functions.patch13
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/hotplug/files/digest-hotplug-20030805-r1 b/sys-apps/hotplug/files/digest-hotplug-20030805-r1
new file mode 100644
index 000000000000..faa1d90068fa
--- /dev/null
+++ b/sys-apps/hotplug/files/digest-hotplug-20030805-r1
@@ -0,0 +1,2 @@
+MD5 200eef33ddfcee9c023a3a7797ac6919 hotplug-2003_08_05.tar.gz 42537
+MD5 a0db235527f911f91473e04f752fbffe hotplug-20030805-gentoo-patches.tar.bz2 1991
diff --git a/sys-apps/hotplug/files/hotplug.functions.patch b/sys-apps/hotplug/files/hotplug.functions.patch
new file mode 100644
index 000000000000..e7df638a2c66
--- /dev/null
+++ b/sys-apps/hotplug/files/hotplug.functions.patch
@@ -0,0 +1,13 @@
+--- hotplug-20030805/etc/hotplug/hotplug.functions.orig 2003-09-24 09:35:09.000000000 -0400
++++ hotplug-20030805/etc/hotplug/hotplug.functions 2003-09-24 15:59:20.000000000 -0400
+@@ -139,7 +139,9 @@
+ do
+ # maybe driver modules need loading
+ LOADED=false
+- if ! lsmod | grep -q "^$MODULE " > /dev/null 2>&1; then
++ if lsmod | grep -q "^$MODULE "; then
++ LOADED=true
++ else
+ if grep -q "^$MODULE\$" $HOTPLUG_DIR/blacklist \
+ >/dev/null 2>&1; then
+ debug_mesg "... blacklisted module: $MODULE"