From db3285262766b913402778266dcfc4278a73e745 Mon Sep 17 00:00:00 2001 From: Matthias Strubel Date: Sat, 24 Feb 2018 16:46:14 +0100 Subject: [PATCH] RPi: Fix r8188eu wifi detection problem --- piratebox/piratebox/rpi/bin/wifi_detect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piratebox/piratebox/rpi/bin/wifi_detect.sh b/piratebox/piratebox/rpi/bin/wifi_detect.sh index 0be0da2..7c60060 100755 --- a/piratebox/piratebox/rpi/bin/wifi_detect.sh +++ b/piratebox/piratebox/rpi/bin/wifi_detect.sh @@ -54,7 +54,7 @@ fi DRIVER_NAME=$( ls -1 /sys/class/net/"${WIFI_DEVICE}"/device/driver/module/drivers/ ) # Check for r8188eu enabled device -if echo "$DRIVER_NAME" | grep -q "r8188eu:"; then +if echo "$DRIVER_NAME" | grep -q "r8188eu"; then echo "Found r8188eu enabled device..." pacman --noconfirm -U --needed "${PACKAGE_PATH}/hostapd-8188eu-"* > /dev/null sed -i 's/^driver=nl80211/#driver=nl80211/' "${CONFIG_PATH}"