-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2009-03-15 at 13:24 +0200, Dave Plater wrote:
I don't know which version of opensuse you are running but there was at least in 11.0 two services, one to set the system clock from cmos at startup and one to set the cmos clock from system time on shutdown. These services, especially the shutdown one, will only work properly with a functioning ntp service.
No, ntp is not needed. However, the system time should be correct when the system stops, or the system will boot with an incorrect clock next time. The script /etc/init.d/boot.clock does the start/restart part, and runs early, after the root filesystem has been checked, and before the rest for the partitions has been checked - ie, between boot.rootfsck and boot.localfs: S03boot.rootfsck S04boot.clock ... S13boot.getclock (does nothing) The script /etc/init.d/boot.getclock does the stop part, and runs also early in the stop sequence (instead of late, as K18boot.clock does) K09boot.getclock ... K11boot.localfs ... K18boot.clock (does nothing) That's the reason there are two different scripts: the system needs to setup the clock correctly very soon, before mounting r/w the filesystem, and when halting, needs to run also early, at least before the filesystem is umounted (because it writes to /etc/adjtime). Notice that K11boot.localfs runs earlier than K18boot.clock, so the "stop" section of the script can not be used. http://lists.opensuse.org/opensuse-factory/2008-06/msg00666.html - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm9cX8ACgkQtTMYHG2NR9VxVQCbBczGqJyYacl1hQldaRr/qKys El0An0rewrzbKmdGtWwvLB2x1JIPuG2Z =/duJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org