openpilot/scripts/stop_updater.sh

8 lines
149 B
Bash
Executable File

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