openpilot0/scripts/stop_updater.sh

8 lines
144 B
Bash
Executable File

#!/usr/bin/env sh
# Stop updater
pkill -2 -f selfdrive.updated
# Remove pending update
rm -f /data/safe_staging/finalized/.overlay_consistent