aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/sysvinit.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 /chapter06/sysvinit.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 'chapter06/sysvinit.xml')
-rw-r--r--chapter06/sysvinit.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml
index 9f2ad48f8..4f098a0b0 100644
--- a/chapter06/sysvinit.xml
+++ b/chapter06/sysvinit.xml
@@ -36,9 +36,8 @@ run-level. While doing this, <command>init</command> outputs messages like
misinterpretation, you can modify the source so that these messages read like
<quote>Sending processes started by init the TERM signal</quote> instead:</para>
-<screen><userinput>cp src/init.c{,.backup}
-sed 's/Sending processes/&amp; started by init/g' \
- src/init.c.backup &gt; src/init.c</userinput></screen>
+<screen><userinput>sed -i 's@Sending processes@&amp; started by init@g' \
+ src/init.c</userinput></screen>
<para>Compile Sysvinit:</para>