diff options
Diffstat (limited to 'chapter06/utillinux-inst.xml')
-rw-r--r-- | chapter06/utillinux-inst.xml | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml index eaef886fb..77738f2a5 100644 --- a/chapter06/utillinux-inst.xml +++ b/chapter06/utillinux-inst.xml @@ -1,20 +1,14 @@ <sect2> <title>FHS compliance notes</title> -<para> -The FHS recommends that we use /var/lib/hwclock as the location of the adjtime -file, instead of the usual /etc. To make hwclock, which is part of the -util-linux package, FHS-compliant, run the following. -</para> +<para>The FHS recommends that we use /var/lib/hwclock as the location of the +adjtime file, instead of the usual /etc. To make hwclock, which is part of the +util-linux package, FHS-compliant, run the following.</para> -<para> -<screen> -<userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|" \</userinput> +<para><screen><userinput>sed "s|etc/adjtime\"\$|var/lib/hwclock/adjtime\"|" \</userinput> <userinput> hwclock/hwclock.c > hwclock~ &&</userinput> <userinput>mv hwclock~ hwclock/hwclock.c &&</userinput> -<userinput>mkdir /var/lib/hwclock</userinput> -</screen> -</para> +<userinput>mkdir /var/lib/hwclock</userinput></screen></para> </sect2> @@ -25,16 +19,12 @@ util-linux package, FHS-compliant, run the following. Install Util-Linux by running the following commands: </para> -<para> -<screen> -<userinput>sed s/HAVE_SLN=no/HAVE_SLN=yes/ \</userinput> +<para><screen><userinput>sed s/HAVE_SLN=no/HAVE_SLN=yes/ \</userinput> <userinput> MCONFIG > MCONFIG~ &&</userinput> <userinput>mv MCONFIG~ MCONFIG &&</userinput> <userinput>./configure &&</userinput> <userinput>make ADD_RAW=yes &&</userinput> -<userinput>make ADD_RAW=yes install</userinput> -</screen> -</para> +<userinput>make ADD_RAW=yes install</userinput></screen></para> </sect2> |