Page MenuHomeFreeBSD

bsdconfig: add datetime module for live system clock
Needs ReviewPublic

Authored by dteske on Mon, Jul 27, 10:23 PM.
Tags
None
Referenced Files
F165332671: D58487.id.diff
Fri, Aug 7, 4:55 PM
F165255768: D58487.diff
Fri, Aug 7, 5:19 AM
Unknown Object (File)
Wed, Aug 5, 10:45 AM
Unknown Object (File)
Mon, Aug 3, 1:08 PM
Unknown Object (File)
Mon, Aug 3, 10:02 AM
Unknown Object (File)
Sat, Aug 1, 8:54 AM
Unknown Object (File)
Fri, Jul 31, 6:48 AM
Unknown Object (File)
Fri, Jul 31, 6:17 AM
Subscribers

Details

Reviewers
asiciliano
adrian
emaste
des
bapt
Group Reviewers
manpages
Summary

Provide bsdconfig datetime (menu), date, and time to set the running
system clock via dialog(1)/bsddialog(1) --calendar and --timebox with
mustberoot. Unlike bsdinstall's time helper, this operates on the live
system rather than a CHROOT-staged install target, and calls
adjkerntz(8) after a successful change so the CMOS stays in sync.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75181
Build 72064: arc lint + arc unit

Event Timeline

Part of my work in releasing the window manager that I built for the touch-sensitive Framework Laptop 12. My window manager has a start bar complete with battery level and system date/time. I programmed it so that when you click on the clock in the start bar that it brings up this, bsdconfig datetime, so that the date and time can be set more conveniently. As mentioned elsewhere, you can't use the bsdinstall module for that purpose.