#!/bin/sh

zonedir=/usr/share/zoneinfo
localtime_file=/etc/localtime
clock_file=/etc/sysconfig/clock

unset ZONE
if [ -f $clock_file ]; then
	. $clock_file
fi

if [ -z "$ZONE" ]; then
	ZONE=US/Eastern
fi

if [ -f $zonedir/$ZONE ]; then
	cp -f $zonedir/$ZONE $localtime_file
fi
