diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 19:16:21 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 19:16:21 +0000 |
commit | 2ec4b60f359413c6f0163b9e72108c24460573e7 (patch) | |
tree | 7f8fadd44d9a25a95ce26daf9748a7f0040715ae /chapter06/util-linux.xml | |
parent | 9109cd46dd8cbe0798713282e4908aeb98910a41 (diff) |
Normalized usage of sed throughout the book
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/util-linux.xml')
-rw-r--r-- | chapter06/util-linux.xml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 64658f402..fbd42374a 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -35,9 +35,7 @@ instead of the usual <filename>/etc</filename>, as the location for the <filename>adjtime</filename> file. To make the <command>hwclock</command> program FHS-compliant, run the following:</para> -<screen><userinput>cp hwclock/hwclock.c{,.backup} -sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ - hwclock/hwclock.c.backup > hwclock/hwclock.c +<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' hwclock/hwclock.c mkdir -p /var/lib/hwclock</userinput></screen> </sect2> |