make a syslink to get correct timezone
This commit is contained in:
@@ -116,6 +116,7 @@ function set_timezone {
|
|||||||
if [ "$TZ" != "" ]; then
|
if [ "$TZ" != "" ]; then
|
||||||
echo "* Setting Timezone to $TZ"
|
echo "* Setting Timezone to $TZ"
|
||||||
echo "TZ=$TZ" > /etc/environment
|
echo "TZ=$TZ" > /etc/environment
|
||||||
|
ln -sf "/usr/share/zoneinfo/$TZ" /etc/localtime
|
||||||
else
|
else
|
||||||
echo "* Timezone not set - Use UTC Time"
|
echo "* Timezone not set - Use UTC Time"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user