Ignore:
Timestamp:
01/27/2016 06:00:53 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
8cf08a11
Parents:
4c7c1d4
Message:

Merge Chapter 12 changes from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16857 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/usbutils.xml

    r4c7c1d4 r14ba5f4  
    9696    </para>
    9797
    98 <screen><userinput>sed -i '/^usbids/ s:usb.ids:misc/&amp;:' lsusb.py &amp;&amp;
    99 
    100 ./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
     98<screen><userinput>sed -i '/^usbids/ s:usb.ids:hwdata/&amp;:' lsusb.py &amp;&amp;
     99
     100./configure --prefix=/usr --datadir=/usr/share/hwdata &amp;&amp;
    101101make</userinput></screen>
    102102
     
    110110
    111111<screen role="root"><userinput>make install</userinput></screen>
     112
     113    <para>
     114      To install the <filename>usb.ids</filename> data file, using
     115      <xref linkend="wget"/>, run, as the
     116      <systemitem class="username">root</systemitem> user:
     117    </para>
     118
     119<screen role="root"><userinput>install -dm755 /usr/share/hwdata/ &amp;&amp;
     120wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen>
    112121
    113122    <para>
     
    135144    <para>
    136145      The <filename>usb.ids</filename> data file is constantly being updated.
    137       To get a current version of this file, using <xref linkend="wget"/>, run,
    138       as the <systemitem class="username">root</systemitem> user:</para>
    139 
    140 <screen role="root"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/misc/usb.ids</userinput></screen>
     146      To get a current version of this file, using <xref linkend="wget"/>,
     147      periodically run again, as the
     148      <systemitem class="username">root</systemitem> user:
     149    </para>
     150
     151<screen role="root"><userinput>wget http://www.linux-usb.org/usb.ids -O /usr/share/hwdata/usb.ids</userinput></screen>
    141152
    142153    <para>
    143154      You may wish to add an entry to
    144155      <systemitem class="username">root</systemitem>'s (or any other user who has
    145       write privilege to <filename class="directory">/usr/share/misc</filename>)
     156      write privilege to <filename class="directory">/usr/share/hwdata</filename>)
    146157      crontab to automatically update the <filename>usb.ids</filename> file
    147158      periodically.
Note: See TracChangeset for help on using the changeset viewer.