V
V
Vyacheslav Golovanov2011-10-14 19:27:19
FreeBSD
Vyacheslav Golovanov, 2011-10-14 19:27:19

FreeBSD tzdata?

How and what to update for correct operation in connection with the cancellation of the transition to winter time?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nastradamus, 2011-10-14
@Nastradamus

#cd /usr/ports/misc/zoneinfo
#make install clean
#tzsetup
Something like this, if memory serves. :)

N
Nastradamus, 2011-10-14
@Nastradamus

Or run the script: I did just that. Works not only in Fre, but also in Debian/Ubuntu.
#!/bin/sh
# Disallow winter time for Moscow
echo "Disable winter time for MoscoW"
sleep 3
mkdir ./temp1
cd ./temp1
wget tx-us.lunar-linux.org/lunar/mirrors/tzdata2011k.tar.gz
tar xzf tzdata2011k.tar.gz
cp /etc/localtime /tmp/localtime.old
zic europe
ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime
cd ..
rm -rf ./temp1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question