Files
dragonpilot/launch_openpilot.sh
Comma Device 5c73e264e9 Release 260308
2026-03-08 23:26:57 +08:00

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