diff options
Diffstat (limited to 'chapter06/utillinux-inst.xml')
-rw-r--r-- | chapter06/utillinux-inst.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml index ee928f5a8..7bfd91bff 100644 --- a/chapter06/utillinux-inst.xml +++ b/chapter06/utillinux-inst.xml @@ -8,10 +8,10 @@ instead of the usual <filename>/etc</filename>, as the location for the <filename>adjtime</filename> file. To make the <userinput>hwclock</userinput> program FHS-compliant, run the following:</para> -<para><screen><userinput>cp hwclock/hwclock.c{,.backup} +<screen><userinput>cp hwclock/hwclock.c{,.backup} sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ hwclock/hwclock.c.backup > hwclock/hwclock.c -mkdir -p /var/lib/hwclock</userinput></screen></para> +mkdir -p /var/lib/hwclock</userinput></screen> </sect2> @@ -20,11 +20,11 @@ mkdir -p /var/lib/hwclock</userinput></screen></para> <para>Prepare Util-linux for compilation:</para> -<para><screen><userinput>./configure</userinput></screen></para> +<screen><userinput>./configure</userinput></screen> <para>Compile the package:</para> -<para><screen><userinput>make HAVE_SLN=yes</userinput></screen></para> +<screen><userinput>make HAVE_SLN=yes</userinput></screen> <para>The meaning of the make parameter:</para> @@ -37,7 +37,7 @@ again.</para></listitem> <para>And install the package:</para> -<para><screen><userinput>make HAVE_SLN=yes install</userinput></screen></para> +<screen><userinput>make HAVE_SLN=yes install</userinput></screen> </sect2> |