summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-09-27 15:45:41 +0200
committerJames Rayner <james@archlinux.org>2009-09-27 15:45:41 +0200
commitdf2c2b5c04393ed72c2798407f50f99a6298b673 (patch)
treec432706c3b31ff5702217ec0d16edb4ecae11b0b /src
parent818dacfa7f435e42fe1c81ae002a8df01ea80677 (diff)
downloadnetctl-df2c2b5c04393ed72c2798407f50f99a6298b673.tar.gz
netctl-df2c2b5c04393ed72c2798407f50f99a6298b673.tar.xz
Rename autowifi->wpa_actiond, add makefile, bugfix
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 6184da3..ce4fbf2 100644
--- a/src/8021x
+++ b/src/8021x
@@ -64,14 +64,14 @@ make_wpa_config_file() {
# Requires already loaded profile
make_wpa_config() {
case $SECURITY in
- wep)
+ wep|wep-old)
if [[ ${KEY:0:2} == "s:" ]]; then # TODO: does wpa_supplicant handle this as expected?
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE \nwep_key0=\"${KEY:2}\" \nwep_tx_keyidx=0"
else
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE \nwep_key0=$KEY \nwep_tx_keyidx=0"
fi
;;
- none)
+ none|none-old)
echo "ssid=\"$ESSID\" \nkey_mgmt=NONE"
;;
wpa)