mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Clean up
Tested the logic on the MacBook. It worked and the install of the drivers are reenabled.
This commit is contained in:
@@ -7,10 +7,8 @@ pci_info=$(lspci -nnv)
|
|||||||
|
|
||||||
if echo "$pci_info" | grep -q "14e4:43a0" && echo "$pci_info" | grep -q "106b:"; then
|
if echo "$pci_info" | grep -q "14e4:43a0" && echo "$pci_info" | grep -q "106b:"; then
|
||||||
echo "Apple BCM4360 detected"
|
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
|
elif echo "$pci_info" | grep -q "14e4:4331" && echo "$pci_info" | grep -q "106b:"; then
|
||||||
echo "Apple BCM4331 detected"
|
echo "Apple BCM4331 detected"
|
||||||
# sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
|
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
|
||||||
else
|
|
||||||
echo "No supported Broadcom chip detected"
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user