Changeset fb6fcc5


Ignore:
Timestamp:
02/21/2006 09:20:52 PM (18 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
a3a3609
Parents:
e97ab63
Message:

Use non-deprecated method for accessing the MODALIAS key in the rules file

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/udev_update/BOOK@7394 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    re97ab63 rfb6fcc5  
    4040      <para>Febraury 20, 2006</para>
    4141      <itemizedlist>
     42        <listitem>
     43          <para>[matthew] - Use non-deprecated format for accessing MODALIAS
     44          keys in the Udev rules file, and prevent the &quot;$&quot; from being
     45          expanded by the shell.</para>
     46        </listitem>
    4247        <listitem>
    4348          <para>[matthew] - Add patches 009 and 010 from Bash upstream.</para>
  • chapter06/udev.xml

    re97ab63 rfb6fcc5  
    104104
    105105<screen><userinput>sed -i 147,150d /etc/udev/rules.d/25-lfs.rules
    106 cat &gt;&gt; /etc/udev/rules.d/25-lfs.rules &lt;&lt; EOF
     106cat &gt;&gt; /etc/udev/rules.d/25-lfs.rules &lt;&lt; "EOF"
    107107# Rules to allow hotplugging of devices with modular drivers
    108 ACTION=="add", SUBSYSTEM=="?*", MODALIAS=="?*", \
    109   RUN+="/sbin/modprobe $modalias"
     108ACTION=="add", SUBSYSTEM=="?*", ENV{MODALIAS}=="?*", \
     109  RUN+="/sbin/modprobe $env{MODALIAS}"
    110110ACTION=="add", SUBSYSTEM=="scsi", SYSFS{type}=="[07]", \
    111111  RUN+="/sbin/modprobe sd_mod"
Note: See TracChangeset for help on using the changeset viewer.