Created attachment 235612 [details] diff with new files against /var/empty Just a simple rc.d script to keep the time of small computers without a RTC more in sync. See the github repo for more information.
Hello Ronald, I would suggest to shorten pkg-descr, so it comes straight to the point explaining what the tool does (and anyone interested can always find more details following the WWW link): --- Save real-time clock on reboot For computers without a real-time clock, this utility enables to store the wall-clock on shutdown and restore it on boot, in order to minimize the drift as far as possible until e.g. NTP is used to set the correct date/time again. Note that systems using UFS for the root fs won't need this, as the clock is already restored from info in the UFS superblock. WWW: https://github.com/ronaldklop/fakertc --- Would you be fine with that change? BR, Felix
(In reply to Felix Palmen from comment #2) Yes, I'm fine with the change of the pkg-descr. Thanks for looking into it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c3571b9118b183c825404caa665152208058c53 commit 6c3571b9118b183c825404caa665152208058c53 Author: Ronald Klop <ronald-lists@klop.ws> AuthorDate: 2022-08-01 19:58:46 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2022-08-08 10:50:27 +0000 sysutils/fakertc: Add new port fakertc is a simple rc.d script to keep the time of computers without an RTC across reboots. PR: 265556 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36067 sysutils/Makefile | 1 + sysutils/fakertc/Makefile (new) | 23 +++++++++++++++++++++++ sysutils/fakertc/distinfo (new) | 3 +++ sysutils/fakertc/pkg-descr (new) | 11 +++++++++++ 4 files changed, 38 insertions(+)
Committed, thanks!