DESCRIPTIONThis script uses adjtimex(8) to find values for the kernel variables tick and frequency that will make the system clock approximately agree with the CMOS clock. It then saves these values in the configuration file /etc/default/adjtimex so the settings will be restored on every boot, when /etc/init.d/adjtimex, or systemd adjtimex.service, runs.
adjtimexconfig uses the drift rate recorded in /etc/adjtime to adjust the times it reads from the CMOS clock. If you find the CMOS clock has a systematic drift, read the clock(8) or hwclock(8) manual page, modify /etc/adjtime as required, and run adjtimexconfig again.
AUTHORMichael Meskes <[email protected]>.
/etc/default/adjtimex /etc/init.d/adjtimex /lib/systemd/system/adjtimex.service