]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tzsetup: symlink /etc/localtime instead of copying
authorEd Maste <emaste@FreeBSD.org>
Fri, 14 Oct 2022 16:44:35 +0000 (12:44 -0400)
committerEd Maste <emaste@FreeBSD.org>
Fri, 24 Nov 2023 02:13:49 +0000 (21:13 -0500)
commit5e16809c953f4cd19fadb1767469dec319de0353
treefccf91123bb9fc6721630181130bf0a81cc79787
parentc4dacfa7f4b82f23ec0924d9db772860b2066f9b
tzsetup: symlink /etc/localtime instead of copying

Using a symlink means that new timezone data (installed by an errata
update, say) will be usable without having to be copied again.

Reviewed by: bapt, kevans, philip
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37005
usr.sbin/tzsetup/tzsetup.8
usr.sbin/tzsetup/tzsetup.c