mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
silence iwctl
This commit is contained in:
parent
d3a12d5574
commit
94de5234cb
1 changed files with 2 additions and 2 deletions
|
@ -59,9 +59,9 @@ do_wireless() {
|
||||||
# time to connect
|
# time to connect
|
||||||
DIALOG --infobox "Connection to ${WLAN_SSID} with ${INTERFACE} ..." 3 70
|
DIALOG --infobox "Connection to ${WLAN_SSID} with ${INTERFACE} ..." 3 70
|
||||||
if [[ -z "${WLAN_KEY}" ]]; then
|
if [[ -z "${WLAN_KEY}" ]]; then
|
||||||
iwctl station "${INTERFACE}" "${WLAN_CONNECT}" "${WLAN_SSID}" && WLAN_AUTH="1"
|
iwctl station "${INTERFACE}" "${WLAN_CONNECT}" "${WLAN_SSID}" >/dev/null 2>&1 && WLAN_AUTH="1"
|
||||||
else
|
else
|
||||||
iwctl --passphrase="${WLAN_KEY}" station "${INTERFACE}" "${WLAN_CONNECT}" "${WLAN_SSID}" && WLAN_AUTH="1"
|
iwctl --passphrase="${WLAN_KEY}" station "${INTERFACE}" "${WLAN_CONNECT}" "${WLAN_SSID}" >/dev/null 2>&1 && WLAN_AUTH="1"
|
||||||
fi
|
fi
|
||||||
if [[ "${WLAN_AUTH}" == "1" ]]; then
|
if [[ "${WLAN_AUTH}" == "1" ]]; then
|
||||||
DIALOG --infobox "Authentification successfull. Continuing in 3 seconds ..." 3 70
|
DIALOG --infobox "Authentification successfull. Continuing in 3 seconds ..." 3 70
|
||||||
|
|
Loading…
Reference in a new issue