summaryrefslogtreecommitdiffstats
path: root/abs/extra/crda/set-wireless-regdom
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/crda/set-wireless-regdom')
-rwxr-xr-xabs/extra/crda/set-wireless-regdom5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/extra/crda/set-wireless-regdom b/abs/extra/crda/set-wireless-regdom
new file mode 100755
index 0000000..3905ae9
--- /dev/null
+++ b/abs/extra/crda/set-wireless-regdom
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+unset WIRELESS_REGDOM
+. /etc/conf.d/wireless-regdom
+[ -n "${WIRELESS_REGDOM}" ] && iw reg set ${WIRELESS_REGDOM}