mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
bsdinstall: skip tzsetup UTC question
During installation bsdinstall asks (via tzsetup): > Is this machine's CMOS clock set to UTC? If it is set to local time, > or you don't know, please choose NO here! Most operating systems, except for Windows, use UTC in the hardware real-time clock by default. This question from tzsetup is presumably intended to aid in dual-boot-with-Windows configurations, but these represent a fraction of all FreeBSD installs. Rather than asking this question on every install just default to UTC. Users who want to dual-boot Windows can create /etc/wall_cmos_clock. We can look at making this smarter in the future. Reviewed by: bapt, brooks, brd, cy, 0mp, ngie Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45569
This commit is contained in:
parent
6e3875ebcf
commit
2d9ff965b5
@ -29,7 +29,7 @@ BSDCFG_SHARE="/usr/share/bsdconfig"
|
||||
. $BSDCFG_SHARE/common.subr || exit 1
|
||||
|
||||
# Select timezone
|
||||
chroot $BSDINSTALL_CHROOT tzsetup
|
||||
chroot $BSDINSTALL_CHROOT tzsetup -s
|
||||
|
||||
# Switch to target timezone
|
||||
saved_TZ="$TZ"
|
||||
|
Loading…
Reference in New Issue
Block a user