aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/utillinux-inst.xml
diff options
context:
space:
mode:
authorTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-02 15:46:18 +0000
committerTimothy Bauscher <timothy@linuxfromscratch.org>2002-09-02 15:46:18 +0000
commit4bc6304e662f1ea1806a9828d85a0866f5751f8e (patch)
treedce11eb4ca5d09e93d0fd26153d705165bf5b6ab /chapter06/utillinux-inst.xml
parent54eee9df478c297f508b69fcb3ebfa456d73e0ab (diff)
Symlink sh to bash, and bash to /static/bin/bash. Shortened some cp commands. Changed call to less so SGR will work.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2078 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/utillinux-inst.xml')
-rw-r--r--chapter06/utillinux-inst.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml
index b3b114ffd..1f6ee9f9c 100644
--- a/chapter06/utillinux-inst.xml
+++ b/chapter06/utillinux-inst.xml
@@ -5,7 +5,7 @@
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>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;
+<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &amp;&amp;
sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
&nbsp;&nbsp;&nbsp;&nbsp;hwclock/hwclock.c.backup &gt; hwclock/hwclock.c &amp;&amp;
mkdir -p /var/lib/hwclock</userinput></screen></para>