mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove execution
This commit is contained in:
parent
7565788452
commit
1c9e659fd3
1 changed files with 3 additions and 3 deletions
|
@ -73,15 +73,15 @@ donetwork() {
|
|||
#shellcheck disable=SC2181
|
||||
while [[ "${WLAN_SECURITY}" = "" ]]; do
|
||||
#shellcheck disable=2046
|
||||
DIALOG --ok-label "Select" --menu "Select encryption type:" 9 40 7 \
|
||||
$([[ "${WPA}" == "1" ]] && echo "WPA-PSK" "Encrypted network") \
|
||||
DIALOG --ok-label "Select" --menu "Select encryption type:" 9 50 7 \
|
||||
([[ "${WPA}" == "1" ]] && echo "WPA-PSK" "Encrypted network") \
|
||||
"NONE" "Open network/NO encryption" 2>"${ANSWER}"
|
||||
case $? in
|
||||
1) return 1 ;;
|
||||
0) WLAN_SECURITY=$(cat "${ANSWER}") ;;
|
||||
esac
|
||||
done
|
||||
if [[ "${WLAN_SECURITY}" == "wpa" ]]; then
|
||||
if [[ "${WLAN_SECURITY}" == "WPA-PSK" ]]; then
|
||||
DIALOG --inputbox "Enter your KEY:" 5 40 "WirelessKey" 2>"${ANSWER}" || return 1
|
||||
WLAN_KEY=$(cat "${ANSWER}")
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue