From 94de5234cb4087eb0784ed3c82dcb9bf8e9e7875 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 11 Dec 2022 10:22:47 +0100 Subject: [PATCH] silence iwctl --- usr/lib/archboot/installer/network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/archboot/installer/network.sh b/usr/lib/archboot/installer/network.sh index 6b57a3b6e..4a011741c 100644 --- a/usr/lib/archboot/installer/network.sh +++ b/usr/lib/archboot/installer/network.sh @@ -59,9 +59,9 @@ do_wireless() { # time to connect DIALOG --infobox "Connection to ${WLAN_SSID} with ${INTERFACE} ..." 3 70 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 - 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 if [[ "${WLAN_AUTH}" == "1" ]]; then DIALOG --infobox "Authentification successfull. Continuing in 3 seconds ..." 3 70