add missing setting to timzeone.

This commit is contained in:
edgd1er 2021-10-29 18:53:52 +02:00
parent a564822e26
commit 2979e78311

View file

@ -50,6 +50,9 @@ def change_tz():
loggersrv.info("Setting timzeone to %s" % tz )
os.remove('/etc/localtime')
os.symlink(os.path.join('/usr/share/zoneinfo/', tz), '/etc/localtime')
f = open("/etc/timezone", "w")
f.write(tz)
f.close()
# Main