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