Skip to content

Commit

Permalink
🧹 network: refactor broadcom-wl profile
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jun 1, 2024
1 parent d5e484d commit d727726
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions profiles/pci/network_drivers/profiles.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ device_ids = "4311 4312 4315 4727 4328 4329 432A 432B 432C 432D 0576 4353 4357 4
priority = 1
packages = 'broadcom-wl-dkms'
post_install = """
modprobe -r b43
modprobe -r b43legacy
modprobe -r ssb
modprobe -r bcm43xx
modprobe -r brcm80211
modprobe -r brcmfmac
modprobe -r brcmsmac
modprobe -r bcma
modprobe wl"""
cat <<EOF >/etc/modprobe.d/01-chwd-net-blacklist.conf
# Do not load modules on boot.
blacklist b43
blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma
EOF
mkinitcpio -P
"""
post_remove = """
rm -f /etc/modprobe.d/01-chwd-net-blacklist.conf
mkinitcpio -P
"""

0 comments on commit d727726

Please sign in to comment.