aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2011-02-19 04:37:23 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2011-02-19 04:37:23 +0000
commitc5528f758a923ad65de0cbbf2dfa7e1c6b0c54c5 (patch)
tree4a0ebce19fae20b607be8fc362751b902d922a01 /chapter07
parent6d376142aabd39d7319f8f7be63a5a7f6265f0c5 (diff)
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
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/symlinks.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml
index faa9abbd2..7f5c03532 100644
--- a/chapter07/symlinks.xml
+++ b/chapter07/symlinks.xml
@@ -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