aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/setclock.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/setclock.xml')
-rw-r--r--chapter07/setclock.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml
index 05147f38d..4821459ad 100644
--- a/chapter07/setclock.xml
+++ b/chapter07/setclock.xml
@@ -20,7 +20,8 @@ hardware clock is set to GMT, then the UTC variable below has to be changed
value of <emphasis>1</emphasis>.
</para>
-<literallayout>
+<para>
+<screen>
<userinput>cat &gt; setclock &lt;&lt; "EOF"</userinput>
#!/bin/sh
# Begin /etc/init.d/setclock
@@ -61,7 +62,8 @@ evaluate_retval
# End /etc/init.d/setclock
<userinput>EOF</userinput>
-</literallayout>
+</screen>
+</para>
<sect2>
<title>Creating the /etc/sysconfig/clock file</title>
@@ -71,7 +73,8 @@ Create a new file <filename>/etc/sysconfig/clock</filename> by running
the following:
</para>
-<literallayout>
+<para>
+<screen>
<userinput>cat &gt; /etc/sysconfig/clock &lt;&lt; "EOF"</userinput>
# Begin /etc/sysconfig/clock
@@ -79,7 +82,8 @@ UTC=1
# End /etc/sysconfig/clock
<userinput>EOF</userinput>
-</literallayout>
+</screen>
+</para>
<para>
If the hardware clock (also known as BIOS or CMOS clock) is not set to