Author: alexander
Date: 2007-09-12 07:21:39 -0600 (Wed, 12 Sep 2007)
New Revision: 2057

Modified:
   trunk/packages/udev/Makefile
Log:
Added a rule that autoloads modules for PNP devices.


Modified: trunk/packages/udev/Makefile
===================================================================
--- trunk/packages/udev/Makefile        2007-09-12 13:20:13 UTC (rev 2056)
+++ trunk/packages/udev/Makefile        2007-09-12 13:21:39 UTC (rev 2057)
@@ -40,6 +40,7 @@
        cd $(CONFDIR) ; make install install-doc install-extra-doc
        install -m755 ../dhcp-helper /lib/udev
        install -m644 ../76-network.rules /etc/udev/rules.d/
+       echo 'SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c '\''while 
read id; do /sbin/modprobe pnp:d$$$$id; done < /sys$$devpath/id'\''"' 
>>/etc/udev/rules.d/26-modprobe.rules
        install -m644 -D docs/writing_udev_rules/index.html \
         /usr/share/doc/$(DIR)/index.html
 

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to