From f754db94911c994675b40afa43d19384187ce817 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Mon, 21 Oct 2019 20:27:48 +0100 Subject: Fixed wifi module not working on some cards --- modules/wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/wifi') diff --git a/modules/wifi b/modules/wifi index ebe30f9..fc68fb7 100755 --- a/modules/wifi +++ b/modules/wifi @@ -8,7 +8,7 @@ WIFI_LOW_ICON='' get_wifi() { - if grep -q wlan* "/proc/net/wireless"; then + if grep -q wl* "/proc/net/wireless"; then # Wifi quality percentage percentage=$(grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70)}'| xargs) case $percentage in -- cgit v1.2.3