mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
TimeZone handlers
This commit is contained in:
parent
003cbbea47
commit
5dbadaa730
2 changed files with 73 additions and 1 deletions
|
@ -30,7 +30,7 @@ elif [ -f "/etc/timezone" ]; then
|
|||
|
||||
# Checking symlynks
|
||||
elif [ -h /etc/localtime ]; then
|
||||
ZONE=$(readlink /etc/localtime | sed "s/\/usr\/share\/zoneinfo\///")
|
||||
ZONE=$(readlink /etc/localtime | sed "s%.*share/zoneinfo/%%")
|
||||
|
||||
# Parsing zoneinfo (very slow)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue