mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace double quotes with single quote
This commit is contained in:
parent
b8cdbc5d91
commit
4b6a493e53
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ do_wireless() {
|
|||
# expect hidden network has a WLAN_KEY
|
||||
#shellcheck disable=SC2143
|
||||
if ! [[ "$(iwctl station "${INTERFACE}" get-networks | grep -w "${WLAN_SSID}" | cut -c 42-49 | grep -q 'open')" ]] || [[ "${WLAN_CONNECT}" == "connect-hidden" ]]; then
|
||||
DIALOG --inputbox "Enter your KEY for SSID=\"${WLAN_SSID}\"" 8 50 "SecretWirelessKey" 2>"${ANSWER}" || return 1
|
||||
DIALOG --inputbox "Enter your KEY for SSID=\'${WLAN_SSID}\'" 8 50 "SecretWirelessKey" 2>"${ANSWER}" || return 1
|
||||
WLAN_KEY=$(cat "${ANSWER}")
|
||||
fi
|
||||
# time to connect
|
||||
DIALOG --infobox "Connection to SSID=\"${WLAN_SSID}\" with ${INTERFACE} ..." 3 70
|
||||
DIALOG --infobox "Connection to SSID=\'${WLAN_SSID}\' with ${INTERFACE} ..." 3 70
|
||||
printk off
|
||||
if [[ -z "${WLAN_KEY}" ]]; then
|
||||
iwctl station "${INTERFACE}" "${WLAN_CONNECT}" "${WLAN_SSID}" > /dev/null 2>&1 && WLAN_AUTH="1"
|
||||
|
|
Loading…
Reference in a new issue