Skip to content

Commit

Permalink
fix(just): incorrect config files in configure-broadcom-wl
Browse files Browse the repository at this point in the history
fix: When disabling the wl driver, the files have to be written in
/etc/modprobe.d also use a symlink to /dev/null to override the distribution-provided
config.
  • Loading branch information
jorti committed Jan 10, 2025
1 parent da1690f commit 4cccbed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/ublue-os-just/50-akmods.just
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ configure-broadcom-wl ACTION="prompt":
sudo rm -f /etc/modprobe.d/default-disable-broadcom-wl.conf
echo "${bold}Enabled${normal} Broadcom Wireless, please reboot for changes to take effect"
elif [ "${OPTION,,}" == "disable" ]; then
sudo bash -c '> /etc/modules-load.d/broadcom-wl-blacklist.conf'
sudo bash -c 'echo "blacklist wl" > /etc/modules-load.d/default-disable-broadcom-wl.conf'
sudo ln -sf /dev/null /etc/modprobe.d/broadcom-wl-blacklist.conf
sudo bash -c 'echo "blacklist wl" > /etc/modprobe.d/default-disable-broadcom-wl.conf'
echo "${bold}Disabled${normal} Broadcom Wireless, please reboot for changes to take effect"
fi

0 comments on commit 4cccbed

Please sign in to comment.