summaryrefslogtreecommitdiffstats
path: root/abs/extra/crda/set-wireless-regdom
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-17 00:03:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:05 (GMT)
commit8757317b405200fa7d06fafbf1c3e9993e4015d3 (patch)
tree42d8dae2be10a9c5d9e969a1c4056c1333fe3762 /abs/extra/crda/set-wireless-regdom
parenta9abd6237a047a63b9bcf75b90055cb4321dd0f6 (diff)
downloadlinhes_pkgbuild-8757317b405200fa7d06fafbf1c3e9993e4015d3.zip
linhes_pkgbuild-8757317b405200fa7d06fafbf1c3e9993e4015d3.tar.gz
linhes_pkgbuild-8757317b405200fa7d06fafbf1c3e9993e4015d3.tar.bz2
crda: 1.1.3
update binary path to /usr/bin refs #961
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}