[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

TZ bug in 3.8



I haven't had the chance to download 3.8.1 pre, but the 3.8
still has the timezone bug.  The heart of the fix is to
set the TZ value before calling hwclock.

(actually saving the /etc/localtime value still needs to
wait until the root directory gets remounted read/write)


KTZ="$(getbootparam tz 2>/dev/null)"
[ -f "/usr/share/zoneinfo/$KTZ" ] && TZ="$KTZ"
# hwclock uses the TZ variable
export TZ
hwclock $UTC -s


--
Stephen Samuel +1(604)876-0426             samnospam@bcgreen.com
		   http://www.bcgreen.com/
   Powerful committed communication. Transformation touching
     the jewel within each person and bringing it to light.


Reply to: