mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 17:33:51 +08:00
Create eon_installer.sh
This commit is contained in:
11
scripts/eon_installer.sh
Normal file
11
scripts/eon_installer.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
rm -fr /data/openpilot
|
||||||
|
cd /data/ && git clone https://github.com/dragonpilot-community/dragonpilot openpilot -b $1 --single-branch -depth=1
|
||||||
|
|
||||||
|
touch /data/data/com.termux/files/continue.sh
|
||||||
|
echo "#!/usr/bin/bash" >> /data/data/com.termux/files/continue.sh
|
||||||
|
echo "cd /data/openpilot" >> /data/data/com.termux/files/continue.sh
|
||||||
|
echo "exec ./launch_openpilot.sh" >> /data/data/com.termux/files/continue.sh
|
||||||
|
|
||||||
|
chmod u+x /data/data/com.termux/files/continue.sh
|
||||||
|
reboot
|
||||||
Reference in New Issue
Block a user