From 14fec393716bd2954ee021013ef3f0962992b19f Mon Sep 17 00:00:00 2001 From: ghartmann <45218534+g-hartmann@users.noreply.github.com> Date: Tue, 31 Aug 2021 13:36:19 +0200 Subject: [PATCH] Fixes #10 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d76474f..f3f8bc7 100644 --- a/install.sh +++ b/install.sh @@ -396,7 +396,7 @@ check_interfaces(){ # Wi-Fi interface with AP mode available. for iface in $IFACES; do - if echo "$iface" | grep -Eq "(wlan[0-9]|wl[a-z0-9]{20})"; then + if echo "$iface" | grep -Eq "(wlan[0-9]|wl[a-z0-9]{2,20})"; then config="$(ifconfig $iface)" # Get the iface logic configuration if echo "$config" | grep -qv "inet "; then # Test if not currently connected hw="$(iw $iface info | grep wiphy | cut -d" " -f2)" # Get the iface hardware id.