aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/util-linux.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index ba93f2825..0eb6748cf 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -49,7 +49,8 @@
<command>hwclock</command> program FHS-compliant, run the
following:</para>
-<screen><userinput remap="pre">sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' -i $(grep -rl '/etc/adjtime' .)
+<screen><userinput remap="pre">sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
+ $(grep -rl '/etc/adjtime' .)
mkdir -pv /var/lib/hwclock</userinput></screen>
</sect2>