mirror of
https://github.com/openwrt-xiaomi/xmir-patcher.git
synced 2026-09-22 22:57:55 +03:00
[connect5] Fix set system time for some cases
This commit is contained in:
@@ -274,6 +274,9 @@ else:
|
||||
|
||||
# get device orig system time
|
||||
dst = get_dev_systime()
|
||||
if 'timezone' in dst:
|
||||
if "'" in dst['timezone'] or ";" in dst['timezone']:
|
||||
dst['timezone'] = "GMT0"
|
||||
|
||||
print('Enable smartcontroller scene executor ...')
|
||||
# echo "OK" > /tmp/ntp.status
|
||||
|
||||
Reference in New Issue
Block a user