diff options
Diffstat (limited to 'chapter07/halt.xml')
-rw-r--r-- | chapter07/halt.xml | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/chapter07/halt.xml b/chapter07/halt.xml index 962b0cb78..82eaee109 100644 --- a/chapter07/halt.xml +++ b/chapter07/halt.xml @@ -1,14 +1,10 @@ <sect1 id="ch07-halt"> <title>Creating the halt script</title> -<para> -Create the <filename>/etc/init.d/halt</filename> script by running the -following command: -</para> +<para>Create the <filename>/etc/init.d/halt</filename> script by running the +following command:</para> -<para> -<screen> -<userinput>cat > halt << "EOF"</userinput> +<para><screen><userinput>cat > halt << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/halt @@ -19,9 +15,7 @@ following command: /sbin/halt -d -f -i -p # End /etc/init.d/halt -<userinput>EOF</userinput> -</screen> -</para> +<userinput>EOF</userinput></screen></para> </sect1> |