Date: Thu, 15 May 1997 15:22:47 +0200 (MET DST) From: Zahemszky Gabor <zgabor@CoDe.hu> To: freebsd-questions@freebsd.org (FreeBSD questions) Cc: rfinn@Houston-InterWeb.COM Subject: Re: time zone Message-ID: <199705151322.PAA00661@CoDe.hu> In-Reply-To: <3379FB1F.167E@Houston-InterWeb.COM> from "Richard J. Finn" at "May 14, 97 12:49:19 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> How do I change the time zone in FreeBSD 2.2? On my SGI I simply > change a line in /etc/TIMEZONE to say TZ=CST6CDT. cp /usr/share/zoneinfo/foo/bar /etc/localtime foo = Europe/Africa/... bar = the city which is in the same time zone, as you If you use DOS/Win/... in your machine, too, ``touch /etc/wall_cmos_clock'' (So FBSD will know, that your machine's hardware clock use the local time, not GMT/UTC) Bye, Gabor -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705151322.PAA00661>