inconsistent time storage
My old laptop normally runs Slackware15/64, but it is a shared machine that also has a Windows 10 partition. I normally run the following script to set the hardware time and store it:
/etc/rc.d/rc.ntpd stop && ntpdate pool.ntp.org && hwclock --systohc --localtime && /etc/rc.d/rc.ntpd start
If the machine is there booted to windows, it will display the proper time, but returning to Slackware the time will have to be reset. What should I change to eliminate the discrepancy?
Thank you.
|