Skip to content

Commit

Permalink
Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Jun 14, 2024
1 parent d0c05f8 commit e987ca4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/tools/firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -940,12 +940,7 @@ case "$os" in
cd - >/dev/null
create_firmware_archive "${imgdir}/usr/share/firmware" "${workdir}/firmware-renamed.tar" ${verbose} || (echo -e "\nCouldn't extract firmware. Try choosing some other macOS version (should be Monterey or later). If error still persists, try restarting your Mac and then run the script again." && cleanup_dmg && exit 1)
sudo tar ${verbose} -xC /lib/firmware/brcm -f "${workdir}/firmware-renamed.tar"
echo "Reloading Wi-Fi and Bluetooth drivers"
sudo modprobe -r ${verbose} brcmfmac_wcc || true
sudo modprobe -r ${verbose} brcmfmac || true
sudo modprobe ${verbose} brcmfmac || true
sudo modprobe -r ${verbose} hci_bcm4377 || true
sudo modprobe ${verbose} hci_bcm4377 || true
reload_kernel_modules
echo "Cleaning up"
cleanup_dmg
echo "Done!"
Expand Down

0 comments on commit e987ca4

Please sign in to comment.