At Sun, 27 Mar 2011 13:31:22 -0700,
Doug Barton wrote:
> This is more along the lines of something that would be easy to work 
> with in mergemaster. If I can tell what file in /usr/share/zoneinfo to 
> compare /etc/localtime to (ideally with fully path), I'm happy to 
> provide a mechanism in mergemaster to make sure it stays up to date.

tzsetup(8) creates /var/db/zoneinfo which contains path to the installed
zoneinfo file relative to /usr/share/zineinfo/.

$ cat /var/db/zoneinfo
Asia/Tokyo
$ md5 -q /etc/localtime /usr/share/zoneinfo/$(cat /var/db/zoneinfo)
f17769e8eb35e7a08cfedfe9b2f6b5ef
f17769e8eb35e7a08cfedfe9b2f6b5ef

-- 
kuro
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to