summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-06-23 11:03:28 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-06-23 11:03:28 +0000
commit74cd93066b1fd467f6103648b52b9f51a1973e23 (patch)
tree51dd248bcbd8044417be16051153c053faf4237c /net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch
parentRemoved older versions. (diff)
downloadgentoo-2-74cd93066b1fd467f6103648b52b9f51a1973e23.tar.gz
gentoo-2-74cd93066b1fd467f6103648b52b9f51a1973e23.tar.bz2
gentoo-2-74cd93066b1fd467f6103648b52b9f51a1973e23.zip
Suppressed error message on systems where /proc/sys/kernel/hotplug is empty. Thanks to Felix Wiemann <FelixWiemannBugs@gmx.de> for the fix. Fixes bug #136595.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch')
-rw-r--r--net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch b/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch
new file mode 100644
index 000000000000..c504213aefeb
--- /dev/null
+++ b/net-wireless/linux-wlan-ng/files/linux-wlan-ng-0.2.3-shared.patch
@@ -0,0 +1,12 @@
+diff -ur linux-wlan-ng-0.2.3.old/etc/wlan/shared linux-wlan-ng-0.2.3/etc/wlan/shared
+--- linux-wlan-ng-0.2.3.old/etc/wlan/shared 2006-06-23 13:52:27.100566344 +0300
++++ linux-wlan-ng-0.2.3/etc/wlan/shared 2006-06-23 13:52:51.393873200 +0300
+@@ -71,7 +71,7 @@
+ fi
+
+ if [ -f /proc/sys/kernel/hotplug -a \
+- -x `cat /proc/sys/kernel/hotplug` -a \
++ -x "`cat /proc/sys/kernel/hotplug`" -a \
+ -f /etc/hotplug/wlan.agent ] ; then
+ HAS_HOTPLUG=y
+ else