From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 30 Jul 2006 20:12:23 +0400 From: "Dmitry V. Levin" To: ALT Linux Sisyphus mailing list Message-ID: <20060730161223.GB4171@basalt.office.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus mailing list References: <200607261429.04585.iadzhubey@rics.bwh.harvard.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <200607261429.04585.iadzhubey@rics.bwh.harvard.edu> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [sisyphus] Hardware clock X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 16:12:24 -0000 Archived-At: List-Archive: List-Post: --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 26, 2006 at 02:29:04PM -0400, Ivan Adzhubey wrote: > =F0=D9=D4=C1=C0=D3=D8 =CE=C1=D3=D4=D2=CF=C9=D4=D8 =DA=C1=D0=C9=D3=D8 =D7= =D2=C5=CD=C5=CE=C9 =D7 =D3=C9=D3=D4=C5=CD=CE=D9=C5 =DE=C1=D3=D9 =D0=D2=C9 = =CF=D3=D4=C1=CE=CF=D7=CB=C5 =CB=CF=CD=D0=D8=C0=D4=C5=D2=C1 --=20 > =CE=C5 =D2=C1=C2=CF=D4=C1=C5=D4. =F7 /etc/sysconfig/clock =D0=D2=CF=D0=C9= =D3=C1=CE=CF: >=20 > HWCLOCK_SET_AT_HALT=3Dtrue >=20 > =CE=CF =CE=C9=DE=C5=C7=CF =CE=C5 =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4. =F0=D9= =D4=C1=C0=D3=D8 =D2=C1=DA=CF=C2=D2=C1=D4=D8=D3=D1 =D7 =C9=CE=C9=D4-=D3=CB= =D2=C9=D0=D4=C1=C8, =D7=C9=D6=D5=20 > =D7 /etc/init.d/clock: >=20 > stop) > if is_yes "$HWCLOCK_SET_AT_HALT" && clock_unsynced; then > # action cannot be used in this context. > echo -n "Setting hardware clock$CLOCKDEF: `date` " > /sbin/hwclock --systohc $CLOCKFLAGS && echo_succe= ss ||=20 > echo_failure > RETVAL=3D$? > echo > fi > ;; >=20 > =E9 =CE=C5 =CD=CF=C7=D5 =CE=C1=CA=D4=C9, =C7=C4=C5 =CF=D0=D2=C5=C4=C5=CC= =C5=CE=C1 =C6=D5=CE=CB=C3=C9=D1 (=C9=CC=C9 =D0=C5=D2=C5=CD=C5=CE=CE=C1=D1?)= clock_unsynced. =E2=C1=C7? $ rpmquery -f /bin/clock_unsynced=20 hwclock-2.24-alt1 $ rpmquery -R startup |grep -w hwclock hwclock >=3D 0:2.23-alt6 --=20 ldv --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEzNpnfKvmrJ41Nh4RAn0VAJ97r7KCuNoWeuBdcmuqla16DU2fkgCgnKkH dEnb8gU9WLtVhO5Y53yxs3s= =OdcI -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--