summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-27 16:37:22 +0200
committerJames Rayner <james@archlinux.org>2009-09-27 16:37:22 +0200
commit83ad2000a37e6e2f2bf658553c7997c7f03459d1 (patch)
tree5d8a0c3532b2064f1f018e7dce7b0966766def42 /src
parentdf2c2b5c04393ed72c2798407f50f99a6298b673 (diff)
downloadnetctl-83ad2000a37e6e2f2bf658553c7997c7f03459d1.tar.gz
netctl-83ad2000a37e6e2f2bf658553c7997c7f03459d1.tar.xz
Add stop to netcfg-wpa_actiond, default to WPA2, then WPA.
Diffstat (limited to 'src')
-rw-r--r--src/8021x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/8021x b/src/8021x
index ce4fbf2..7657ead 100644
--- a/src/8021x
+++ b/src/8021x
@@ -76,9 +76,9 @@ make_wpa_config() {
;;
wpa)
if [[ "${#KEY}" -eq 64 ]]; then
- echo "ssid=\"$ESSID\" \npsk=$KEY"
+ echo "proto=RSN WPA\n ssid=\"$ESSID\" \npsk=$KEY"
else
- echo "ssid=\"$ESSID\" \npsk=\"$KEY\""
+ echo "proto=RSN WPA\n ssid=\"$ESSID\" \npsk=\"$KEY\""
fi
;;
wpa-configsection)