[olug] Linux DST
Brian Roberson
roberson at olug.org
Mon Mar 12 16:14:45 UTC 2007
I am sure someone sent this out to the list already - but I thought I would be nice and pass it
on again.
For those of you who have not already dealt with the DST change for this year, Here is a quick
"get it fixed" script. You may need to change a path or two, but works for sure on all flavors
of Suse and CENT-OS
All my stuff is in CST - just sub in EDT/PST/MST where needed
################################################################################
mkdir -p /tmp/tz && cd /tmp/tz
wget ftp://elsie.nci.nih.gov/pub/tzdata*.tar.gz
tar xvzf tzdata*.tar.gz
zic -d /tmp/tz northamerica
cp -f CST6CDT /usr/share/zoneinfo
cp -f America/Chicago /usr/share/zoneinfo/America
rm -f /etc/localtime
cp -f CST6CDT /etc/localtime
zdump -v /etc/localtime | grep 2007
#########################################################################
That last line will show you the DST changes for 2007
More information about the OLUG
mailing list