diff --git a/chrony.texi.in b/chrony.texi.in index 801e2fa..3eb2730 100644 --- a/chrony.texi.in +++ b/chrony.texi.in @@ -1017,7 +1017,7 @@ in conjuction with the `-r' option. @item -s This option will set the system clock from the computer's real-time clock. This is analogous to supplying the `-s' flag to the -@file{/sbin/clock} program during the Linux boot sequence. +@file{/sbin/hwclock} program during the Linux boot sequence. Support for real-time clocks is limited at present - the criteria are described in the section on the @code{rtcfile} directive (@pxref{rtcfile @@ -2704,7 +2704,7 @@ or ends. If the @code{rtconutc} directive appears, it means the RTC is required to keep UTC. The directive takes no arguments. It is equivalent to -specifying the @code{-u} switch to the Linux @file{/sbin/clock} program. +specifying the @code{-u} switch to the Linux @file{/sbin/hwclock} program. @c }}} @c {{{ rtcsync @node rtcsync directive diff --git a/chronyd.8.in b/chronyd.8.in index b62805b..63eaab8 100644 --- a/chronyd.8.in +++ b/chronyd.8.in @@ -79,7 +79,7 @@ with the \fB-r\fR option. .B \-s This option will set the system clock from the computer's real-time clock. This is analogous to supplying the \fI-s\fR flag to the -\fI/sbin/clock\fR program during the Linux boot sequence. +\fI/sbin/hwclock\fR program during the Linux boot sequence. Support for real-time clocks is limited at present - the criteria are described in the section on the \fIrtcfile\fR directive in the diff --git a/rtc.c b/rtc.c index 2557dd8..4900179 100644 --- a/rtc.c +++ b/rtc.c @@ -144,7 +144,7 @@ RTC_TimeInit(void (*after_hook)(void *), void *anything) /* ================================================== */ /* Do an initial read of the RTC and set the system time to it. This - is analogous to what /sbin/clock -s -u would do on Linux. */ + is analogous to what /sbin/hwclock -s would do on Linux. */ void RTC_TimePreInit(void) diff --git a/rtc_linux.c b/rtc_linux.c index d3b62f9..d6b5f33 100644 --- a/rtc_linux.c +++ b/rtc_linux.c @@ -927,7 +927,7 @@ RTC_Linux_WriteParameters(void) /* ================================================== */ /* Try to set the system clock from the RTC, in the same manner as - /sbin/clock -s -u would do. We're not as picky about OS version + /sbin/hwclock -s would do. We're not as picky about OS version etc in this case, since we have fewer requirements regarding the RTC behaviour than we do for the rest of the module. */