Release 260308
This commit is contained in:
18
launch_openpilot.sh
Executable file
18
launch_openpilot.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user