Fix the sed in the CD-ROM symlink section to handle newer Udev rules files

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9473 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bryan Kadzban 2011-02-19 04:37:23 +00:00
parent 6d376142aa
commit c5528f758a
2 changed files with 5 additions and 1 deletions

View File

@ -43,6 +43,10 @@
<para>[bdubbs] Fix several urls in Chapter 3. Thanks to
splotz90 for the patch.</para>
</listitem>
<listitem>
<para>[bryan] Fix the sed in the CD-ROM symlinks section,
to sync with upstream changes to the file being modified.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -76,7 +76,7 @@
as follows (where <replaceable>mode</replaceable> is one of
<quote>by-id</quote> or <quote>by-path</quote>):</para>
<screen role="nodump"><userinput>sed -i -e 's/write_cd_rules/&amp; <replaceable>mode</replaceable>/' \
<screen role="nodump"><userinput>sed -i -e 's/"write_cd_rules"/"write_cd_rules <replaceable>mode</replaceable>"/' \
/lib/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen>
<para>Note that it is not necessary to create the rules files or symlinks