aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/udev.xml
diff options
context:
space:
mode:
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>