Considering that some people need to keep their clock on track without the overkill of installing ntp, here is a suggestion for adding an init script to the net-misc/rdate ebuild. It is loosely based on the ntp-client init script. Lines to add to the actual stable rdate ebuild: ----------8<----------8<---------- src_install(){ ...... exeinto /etc/init.d newexe ${FILESDIR}/rdate.rc rdate insinto /etc/conf.d newins ${FILESDIR}/rdate.confd rdate } pkg_postinst() { ewarn "Review /etc/conf.d/rdate to setup init.d info." } ----------8<----------8<---------- Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 35871 [details] rdate.rc
Created attachment 35872 [details] rdate.confd
I just wanted to file the same bug. :) I think the scripts can be enhanced a little to match rdate more specifically. Attachments follow.
Created attachment 44790 [details] revised init-script always use "-s", no CMD var, as "/usr/binrdate" is fixed by the ebuild
Created attachment 44791 [details] revised conf file with my example values filled in
Since I don't have haven't ever used rdate, I'm going to throw this back to bug-wranglers. I think robbat2 might have a shot at this since he's touched it recently.
in cvs.
(In reply to comment #0) > Considering that some people need to keep their clock on track without the overkill of installing ntp, Thanks! I don't need to cron rdate anymore :)