#!/bin/bash
# Mute fleet/broadcast Pathfinder channels for the current agent.
# DM channels stay open. Run runabout-unmute to restore.
AGENT="${1:-$(python3 -c "import json; print(json.load(open('/etc/runabout/config.json'))['agent'])" 2>/dev/null)}"
touch "/var/lib/$AGENT/runabout-active"
echo "$AGENT: runabout mode — fleet/broadcast muted, DMs open"
