Pedro Rosa <[EMAIL PROTECTED]> writes:
> Would not be more practical to use a link to
> /usr/share/zoneinfo/region/location? At least, for general users, it
> would be more evident where localtime is pointing to.
last cvs version of initscripts in %post of initscripts.spec:
# dup of timeconfig %post - here to avoid a dependency
if [ -L /etc/localtime ]; then
_FNAME=`ls -ld /etc/localtime | awk '{ print $11}' | sed 's/lib/share/'`
rm /etc/localtime
cp -f $_FNAME /etc/localtime
if ! grep -q "^ZONE=" /etc/sysconfig/clock ; then
echo "ZONE=\"$_FNAME"\" | sed -e "s|[^\"]*/usr/share/zoneinfo/||" >>
/etc/sysconfig/clock
fi
fi
i beleive you'll get your information in /etc/sysconfig/clock
--
MandrakeSoft Inc http://www.chmouel.org
San-Francisco, CA USA --Chmouel