#!/bin/sh

# set local timezone

if [ $# -eq 0 ]
then
	echo;echo "ERROR: You must provide a timezone";echo
	exit 255
else
	TIME_ZONE=$1
	sed -i -e "s/\(CONFIG_TZ=\)\"\(.*\)\"/\1\"$TIME_ZONE\"/" /etc/sysconfig/config
fi

