SOURCES: udev-modprobe.rules - enable pnp hotplug (work with linux...

freetz freetz at pld-linux.org
Wed May 10 20:41:14 CEST 2006


Author: freetz                       Date: Wed May 10 18:41:14 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enable pnp hotplug (work with linux 2.6.17), fix net_helper invocation

---- Files affected:
SOURCES:
   udev-modprobe.rules (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SOURCES/udev-modprobe.rules
diff -u SOURCES/udev-modprobe.rules:1.16 SOURCES/udev-modprobe.rules:1.17
--- SOURCES/udev-modprobe.rules:1.16	Tue May  2 20:51:35 2006
+++ SOURCES/udev-modprobe.rules	Wed May 10 20:41:09 2006
@@ -10,8 +10,8 @@
 SUBSYSTEM=="pcmcia_socket", RUN+="/sbin/modprobe pcmcia"
 
 # pnp
-#SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", \
-#	RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
+SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", \
+	RUN+="/bin/sh -c 'while read id; do /sbin/modprobe pnp:d$$id; done < /sys$devpath/id'"
 
 # disks & magneto-optical disk:
 SUBSYSTEM=="scsi_device", SYSFS{type}=="0|7|14", \
@@ -38,7 +38,8 @@
 LABEL="hotplug_driver_loaded"
 
 SUBSYSTEM=="firmware", RUN+="/lib/udev/firmware_helper"
+SUBSYSTEM=="net", RUN+="/lib/udev/net_helper"
 
 LABEL="hotplug_not_add_event"
 
-#SUBSYSTEM=="net", ENV{INTERFACE}=="*", RUN+="/lib/udev/net_helper"
+ACTION=="remove", SUBSYSTEM=="net", RUN+="/lib/udev/net_helper"
\ No newline at end of file
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/udev-modprobe.rules?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list