2012. szeptember 8. 12:37 napon Per Jessen <per@computer.org> írta:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2012-09-08 12:04, Istvan Gabor wrote:
How can I set "local time" permanently? I don't have windows.
Edit /etc/adjtime and put local there. And before somebody asks, it was reported in time on bugzilla.
My brandnew 12.2 system doesn't have /etc/adjtime, but it looks it is created when you do "hwclock --systohc".
Init-script boot.clock normally would do that, but afaict it isn't part of the init-sequence. Doesn't look like systemd takes care of it either, but I'm no expert.
I have created /etc/adjtime using "hwclock --systohc" and added "LOCAL" to the 3rd line (replaced UTC by LOCAL). After this my system clock was set to 2 hours late (after reboot). I tried to use sntp to change system time as I always did previously: # sntp -j ntp1.ptb.de which gave Time not set: adjtime(): Invalid argument error. Then I tried # sntp -s ntp1.ptb.de which worked. Since then "sntp -j" works too, I can not reproduce the error. Anyway it seems that it's working now. Thank you for your help. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org