Tested the logic on the MacBook. It worked and the install of the
drivers are reenabled.
This commit is contained in:
Michael Larsen
2025-09-18 15:16:24 +02:00
parent ad30ef6339
commit 4d50c8bd33

View File

@@ -7,10 +7,8 @@ pci_info=$(lspci -nnv)
if echo "$pci_info" | grep -q "14e4:43a0" && echo "$pci_info" | grep -q "106b:"; then
echo "Apple BCM4360 detected"
# sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
elif echo "$pci_info" | grep -q "14e4:4331" && echo "$pci_info" | grep -q "106b:"; then
echo "Apple BCM4331 detected"
# sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
else
echo "No supported Broadcom chip detected"
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
fi