Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > eea18041fe3818dba822b664b9b3b95a > files > 3

prism2-utils-0.2.8-3mdv2009.0.src.rpm

diff -p -up linux-wlan-ng-0.2.8/etc/udev/rules.d/40-prism2.rules.udev linux-wlan-ng-0.2.8/etc/udev/rules.d/40-prism2.rules
--- linux-wlan-ng-0.2.8/etc/udev/rules.d/40-prism2.rules.udev	2006-06-26 17:03:27.000000000 +0200
+++ linux-wlan-ng-0.2.8/etc/udev/rules.d/40-prism2.rules	2008-03-07 11:56:51.000000000 +0100
@@ -1 +1 @@
-ACTION=="add",BUS=="usb",DRIVER=="prism2_usb" ,RUN+="/etc/wlan/wlan-udev.sh %k"
+ENV{STARTUP}!="1", ACTION=="add",BUS=="usb",DRIVER=="prism2_usb" ,RUN+="/etc/wlan/wlan-udev.sh %k"
diff -p -up linux-wlan-ng-0.2.8/etc/wlan/shared.udev linux-wlan-ng-0.2.8/etc/wlan/shared
--- linux-wlan-ng-0.2.8/etc/wlan/shared.udev	2008-03-07 11:32:31.000000000 +0100
+++ linux-wlan-ng-0.2.8/etc/wlan/shared	2008-03-07 11:58:45.000000000 +0100
@@ -74,14 +74,8 @@ fi
 #fi
 
 if [ ! -n "$WLAN_UDEV" ] ; then
-if [ -f /proc/sys/kernel/hotplug -a \
-	-x `cat /proc/sys/kernel/hotplug` -a \
-	-f /etc/hotplug/wlan.agent ] ; then
-	HAS_HOTPLUG=y
-else
 	HAS_HOTPLUG=n
 fi
-fi
 
 # Source the wlan configuration
 if [ -f /etc/wlan/wlan.conf ] ; then
diff -p -up linux-wlan-ng-0.2.8/etc/rc.wlan.udev linux-wlan-ng-0.2.8/etc/rc.wlan