diff options
Diffstat (limited to 'chapter07/reboot.xml')
-rw-r--r-- | chapter07/reboot.xml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/chapter07/reboot.xml b/chapter07/reboot.xml index b65c1ebc9..3b69e5088 100644 --- a/chapter07/reboot.xml +++ b/chapter07/reboot.xml @@ -1,14 +1,10 @@ <sect1 id="ch07-reboot"> <title>Creating the reboot script</title> -<para> -Create the <filename>/etc/init.d/reboot</filename> script by running the -following command: -</para> - -<para> -<screen> -<userinput>cat > reboot << "EOF"</userinput> +<para>Create the <filename>/etc/init.d/reboot</filename> script by running the +following command:</para> + +<para><screen><userinput>cat > reboot << "EOF"</userinput> #!/bin/sh # Begin /etc/init.d/reboot @@ -22,9 +18,7 @@ echo "System reboot in progress..." /sbin/reboot -d -f -i # End /etc/init.d/reboot -<userinput>EOF</userinput> -</screen> -</para> +<userinput>EOF</userinput></screen></para> </sect1> |