#!/bin/bash
# Restore all Pathfinder channels for the current agent.
AGENT="${1:-$(python3 -c "import json; print(json.load(open('/etc/runabout/config.json'))['agent'])" 2>/dev/null)}"
rm -f "/var/lib/$AGENT/runabout-active"
echo "$AGENT: runabout mode off — all channels restored"
