summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/network/if-pre-up.d/04-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/etc/network/if-pre-up.d/04-wireless')
-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