diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-04-16 19:38:10 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2007-04-16 19:38:10 +0000 |
commit | a728d169764c53a7988fdd4116600f09be53bf52 (patch) | |
tree | fae2c8dc2dcca4b95610583ad537bd5a392fea34 /chapter06 | |
parent | 8536c02ded36cddc06df1f8b3fbb6d2889f2e544 (diff) |
Change all references to /etc/adjtime in the Util-Linux sources to /var/lib/hwclock/adjtime. Fixes #1984.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8065 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/util-linux.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index 2286e302b..49b8d118b 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -43,8 +43,8 @@ <command>hwclock</command> program FHS-compliant, run the following:</para> -<screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ - hwclock/hwclock.c +<screen><userinput>sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ + -i $(grep -rl '/etc/adjtime' .) mkdir -pv /var/lib/hwclock</userinput></screen> </sect2> |