Time: Run synchronization on network up.
Also move the settings check into launch_daemon, as that way "Time --update" can be invoked even when the setting is disabled. Fixes #9348.
This commit is contained in:
@@ -37,6 +37,8 @@ target desktop {
|
||||
|
||||
job update-time {
|
||||
launch /system/preferences/Time "" --update
|
||||
if setting ~/config/settings/networktime\ settings "synchronize at boot"
|
||||
on network_available
|
||||
}
|
||||
|
||||
job first-login {
|
||||
|
||||
Reference in New Issue
Block a user