rdate is a nice little tool i use in some of time sync scripts. ANd can get the time from ntp server. thinks fits best in net-misc example usage: rdate ntp.xs4all.nl>/dev/null;hwclock --systohc>/dev/null
And Agin i have troubles attachinf files so here it is #Copyright 2002 Gentoo Technologies,Inc. #Distributed under the terms of the GNU General Public License, v2 or later #Author Ferry Meyndert <m0rpheus@poseidon.mine.nu> A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Nice little tool too sync time with a ntp server." SRC_URI="ftp://people.redhat.com/sopwith/${A}" HOMEPAGE="http://people.redhat.com/sopwith/" DEPEND=">=sys-libs/glibc-2.1.3" RDEPEND=$DEPEND src_unpack() { unpack ${A} } src_compile() { make || die } src_install () { into /usr dobin rdate }