Files
clearpilot/system/clearpilot/update.sh
T

13 lines
283 B
Bash
Executable File

#!/bin/bash
# Start update_subshell.sh
# Terminate openpilot
pkill -f 'manager.py'
/data/openpilot/system/clearpilot/tools/qt_shell \
"bash /data/openpilot/system/clearpilot/update_subshell.sh"\
--title="Updating ClearPilot to new version"
# We shouldn't get here
reboot