summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-04 12:09:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-04 12:09:31 +0100
commit04b73c418608b5e3c9c21ae176999882e481d578 (patch)
tree54c3fe8bdd5a3cf20195c0075364870240bee11d /package/base-files/src/etc
parent518c7f8ec5375d243c857c8ee16c2a96e9a01db3 (diff)
unblock wlan before starting networking
Diffstat (limited to 'package/base-files/src/etc')
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/04-wireless2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/src/etc/network/if-pre-up.d/04-wireless b/package/base-files/src/etc/network/if-pre-up.d/04-wireless
index 78442d8ae..ebcec5a12 100755
--- a/package/base-files/src/etc/network/if-pre-up.d/04-wireless
+++ b/package/base-files/src/etc/network/if-pre-up.d/04-wireless
@@ -8,6 +8,8 @@ set -e
[ "$IF_WIRELESS_HWMODE" ] || IF_WIRELESS_HWMODE=g
[ "$IF_WIRELESS_EXTENSION" ] || IF_WIRELESS_EXTENSION=0
+rfkill unblock wlan 2>/dev/null
+
wpa=0
wpa1=0
wpa2=0