aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/reboot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/reboot.xml')
-rw-r--r--chapter07/reboot.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter07/reboot.xml b/chapter07/reboot.xml
index 9ce1a6037..4fb352722 100644
--- a/chapter07/reboot.xml
+++ b/chapter07/reboot.xml
@@ -6,7 +6,8 @@ Create a new file <filename>/etc/init.d/reboot</filename> containing the
following:
</para>
-<literallayout>
+<para>
+<screen>
<userinput>cat &gt; reboot &lt;&lt; "EOF"</userinput>
#!/bin/sh
# Begin /etc/init.d/reboot
@@ -22,7 +23,8 @@ echo "System reboot in progress..."
# End /etc/init.d/reboot
<userinput>EOF</userinput>
-</literallayout>
+</screen>
+</para>
</sect1>