Commit 10167e09 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

setup-interfaces: allow spaces in ssid and psk

fixes #7260
parent c15da3bf
...@@ -214,11 +214,11 @@ config_iface() { ...@@ -214,11 +214,11 @@ config_iface() {
if find_essids $iface; then if find_essids $iface; then
ask "Type the wireless network name to connect to:" ask "Type the wireless network name to connect to:"
local essid=$resp 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:" ask "Type the \"$essid\" network Pre-Shared Key:"
psk=$resp psk=$resp
fi fi
config_wpa_supp $iface $essid $psk config_wpa_supp $iface "$essid" "$psk"
else else
echo -e "\nNo available wireless networks\n" echo -e "\nNo available wireless networks\n"
prompt_for_interfaces prompt_for_interfaces
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment