19 lines
432 B
Bash
Executable File
19 lines
432 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
GET_PROP_ATZ=$(getprop persist.sys.timezone)
|
|
if [ -f "/data/params/d/DPTimeZone" ]; then
|
|
GET_PROP_STZ=$(cat /data/params/d/DPTimeZone)
|
|
fi
|
|
|
|
if [ "$GET_PROP_STZ" != "" ] && [ "$GET_PROP_ATZ" != "$GET_PROP_STZ" ]; then
|
|
setprop persist.sys.timezone $GET_PROP_STZ
|
|
fi
|
|
|
|
# 开启自动时间同步
|
|
setprop persist.sys.auto_time 1
|
|
setprop persist.sys.auto_time_zone 1
|
|
|
|
export PASSIVE="0"
|
|
exec ./launch_chffrplus.sh
|
|
|