Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/kmod.xml

    r686839b r24b004c  
    1919
    2020    <para>The Kmod package contains programs for loading, inserting
    21       and removing kernel modules for Linux. Kmod replaces the 
     21      and removing kernel modules for Linux. Kmod replaces the
    2222      Module-Init-tools package.</para>
    2323
     
    3131<screen os="b"><userinput>./configure --prefix=/usr \
    3232    --bindir=/bin --sysconfdir=/etc \
    33     --with-rootlibdir=/lib --disable-manpages \
     33    --with-rootlibdir=/lib \
    3434    --with-zlib --with-xz</userinput></screen>
    3535
     
    7070
    7171<screen os="j"><userinput>ln -sfv kmod /bin/lsmod
    72 ln -sfv ../bin/kmod /sbin/depmod
    73 ln -sfv ../bin/kmod /sbin/insmod
    74 ln -sfv ../bin/kmod /sbin/modprobe
    75 ln -sfv ../bin/kmod /sbin/modinfo
    76 ln -sfv ../bin/kmod /sbin/rmmod</userinput></screen>
    77  
     72for tool in depmod insmod modprobe modinfo rmmod; do
     73ln -sfv ../bin/kmod /sbin/${tool}
     74done</userinput></screen>
     75
    7876  </sect2>
    7977
     
    8583
    8684      <seglistitem>
    87         <seg>depmod, insmod, kmod, lsmod, modinfo, modprobe, and
    88         rmmod</seg>
     85        <seg>depmod (link to kmod), insmod (link to kmod), kmod,
     86        lsmod (link to kmod), modinfo (link to kmod), modprobe (link to kmod),
     87        and rmmod (link to kmod) </seg>
    8988      </seglistitem>
    9089    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.