#!/bin/sh set -eu umask 077 cd -- "$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)" if [ ! -f ./unifi.env ]; then printf '%s\n' 'Missing private unifi.env' >&2 exit 1 fi set -a . ./unifi.env set +a exec "${PYTHON_BIN:-python3}" ./unifi_rf_monitor.py