diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-05-23 09:42:15 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-05-23 09:42:15 +0200 |
commit | 10167e0964af0c8d5a968b0be22e3c2f3c5f3646 (patch) | |
tree | 8d06f44862010869fab19441f0cbf1b45a7b89b6 /setup-interfaces.in | |
parent | c15da3bf6ba6d7b05cac6c6182efdd4149554b82 (diff) | |
download | alpine-conf-10167e0964af0c8d5a968b0be22e3c2f3c5f3646.zip |
setup-interfaces: allow spaces in ssid and psk
fixes #7260
Diffstat (limited to 'setup-interfaces.in')
-rw-r--r-- | setup-interfaces.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in index 54f0f92..b82f02f 100644 --- a/setup-interfaces.in +++ b/setup-interfaces.in @@ -214,11 +214,11 @@ config_iface() { if find_essids $iface; then ask "Type the wireless network name to connect to:" local essid=$resp - if wlan_is_not_open $iface $essid; then + if wlan_is_not_open $iface "$essid"; then ask "Type the \"$essid\" network Pre-Shared Key:" psk=$resp fi - config_wpa_supp $iface $essid $psk + config_wpa_supp $iface "$essid" "$psk" else echo -e "\nNo available wireless networks\n" prompt_for_interfaces |