This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Adapted from Erich's tri-state switch mod which allows choosing from three installed openpilot locations on boot | |
# I've only really added some error-checking and fallback options | |
# Boot locations: | |
# /data/openpilot.1 | |
# /data/openpilot.2 | |
# /data/openpilot.3 | |
# | |
# Moves existing real /data/openpilot dir (I.E not a symlink) to /data/openpilot.backup |