aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/udev.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:16:21 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:16:21 +0000
commit2ec4b60f359413c6f0163b9e72108c24460573e7 (patch)
tree7f8fadd44d9a25a95ce26daf9748a7f0040715ae /chapter05/udev.xml
parent9109cd46dd8cbe0798713282e4908aeb98910a41 (diff)
Normalized usage of sed throughout the book
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/udev.xml')
-rw-r--r--chapter05/udev.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/udev.xml b/chapter05/udev.xml
index 5b38a2baf..35ed76c61 100644
--- a/chapter05/udev.xml
+++ b/chapter05/udev.xml
@@ -42,12 +42,12 @@ by applying the following patch:</para>
which is bad since we install udev in a non-standard location. Fix this by
running the following:</para>
-<screen><userinput>sed -i 's:\/sbin\/udev:/tools&amp;:' udevstart.c</userinput></screen>
+<screen><userinput>sed -i 's@/sbin/udev@/tools/sbin/udev@g' udevstart.c</userinput></screen>
<para>Also assure that udev knows the correct location to look for its
configuration files:</para>
-<screen><userinput>sed -i 's:\/etc:/tools&amp;:' etc/udev/udev.conf.in</userinput></screen>
+<screen><userinput>sed -i 's@/etc@/tools/etc@g' etc/udev/udev.conf.in</userinput></screen>
<para>Now compile Udev:</para>