distribution/packages/network/iw/scripts/setregdomain
2022-02-05 09:23:32 -05:00

8 lines
188 B
Bash
Executable file

#!/bin/sh
REGDOMAIN=
REGDOMAIN_CONF="/storage/.cache/regdomain.conf"
[ -r "$REGDOMAIN_CONF" ] && . "$REGDOMAIN_CONF"
[ -z "$REGDOMAIN" ] && exit 0
exec /usr/sbin/iw reg set "$REGDOMAIN"