#!/bin/sh
# Console Cast answers the console's DNS on port 53. Give the engine the one
# capability that needs, instead of running anything as root. Nothing else changes.
if command -v setcap >/dev/null 2>&1; then
  setcap cap_net_bind_service=+ep /usr/lib/console-cast/consolecast || true
fi
exit 0
