diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 10:16:43 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-08 10:16:43 +0000 |
commit | 0c9661dc834fe89f30d2c0515775e5dfe3ac63a4 (patch) | |
tree | e8c12502efcdf5fa2a57c1cf657e3c7dc47c773b /chapter06/sysvinit-inst.xml | |
parent | 354f0a18bcf3835f5d5e99fdabd1fd9be82d0f3e (diff) |
man patch --> sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/sysvinit-inst.xml')
-rw-r--r-- | chapter06/sysvinit-inst.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index a772e7ad3..d534cc4f4 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -12,9 +12,9 @@ processes started by init the TERM signal".</para> <para>Install Sysvinit by running the following commands:</para> -<para><screen><userinput>mv src/init.c init.c.temp &&</userinput> -<userinput>sed 's/\(.*\)\(Sending processes\)\(.*\) \</userinput> -<userinput> /\1\2 started by init\3/' init.c.temp > src/init.c &&</userinput> +<para><screen><userinput>sed 's/\(.*\)\(Sending processes\)\(.*\) \</userinput> +<userinput> /\1\2 started by init\3/' src/init.c > init.c.temp &&</userinput> +<userinput>mv init.c.temp src/init.c &&</userinput> <userinput>make -C src &&</userinput> <userinput>make -C src install</userinput></screen></para> |