mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 17:33:51 +08:00
7 lines
512 B
Bash
Executable File
7 lines
512 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
|
|
export HOME=/data/data/com.termux/files/home
|
|
export PATH=/usr/local/bin:/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/sbin:/data/data/com.termux/files/usr/bin/applets:/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/data/data/com.termux/files/usr/bin/git
|
|
printf %s "1" > /data/params/d/DragonUpdating
|
|
cd /data/openpilot && git reset --hard @{u} && git clean -xdf && git pull && scons --clean && reboot |