From 39a761366ebec7d0a53ea77b1eb5b2a99b606e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Tue, 19 Jan 2021 17:38:16 +0100 Subject: [PATCH] Install fail --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 064298b..a34cf25 100644 --- a/install.sh +++ b/install.sh @@ -307,7 +307,7 @@ check_wlan_interfaces() { # Check if they are recognized by ifconfig, if not unblock them with rfkill. echo -e "\e[39m[+] Checking your wireless interfaces" - for iface in $(ifconfig | grep -oE "(wlan[0-9]|wlx[a-f0-9]{12})"; do ifaces+=("$iface"); done + for iface in $(ifconfig | grep -oE wlan[0-9]; do ifaces+=("$iface"); done for iface in $(rfkill list | grep -oE phy[0-9]); do rfaces+=("$iface"); done if [[ "${#rfaces[@]}" > 1 ]]; then