Skip to content

Instantly share code, notes, and snippets.

@ncflagg
ncflagg / continue.sh
Last active June 16, 2020 10:51
openpilot: OG Eon tri-state switch mod + auto-enable WiFi hotspot
#!/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