@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
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
.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
/* ================================================== */
/* 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)
/* ================================================== */
/* 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. */