diff options
Diffstat (limited to 'chapter06/sysvinit.xml')
-rw-r--r-- | chapter06/sysvinit.xml | 5 |
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/& started by init/g' \ - src/init.c.backup > src/init.c</userinput></screen> +<screen><userinput>sed -i 's@Sending processes@& started by init@g' \ + src/init.c</userinput></screen> <para>Compile Sysvinit:</para> |