mirror of
https://github.com/t2linux/wiki.git
synced 2026-08-16 05:18:11 -07:00
Tools: Do not stop script run if modprobe fails
Older kernels do not have the Bluetooth driver, so running the script there may cause it to fail.
This commit is contained in:
@@ -100,10 +100,10 @@ case "$os" in
|
||||
fi
|
||||
fi
|
||||
done
|
||||
sudo modprobe -r brcmfmac
|
||||
sudo modprobe brcmfmac
|
||||
sudo modprobe -r hci_bcm4377
|
||||
sudo modprobe hci_bcm4377
|
||||
sudo modprobe -r brcmfmac || true
|
||||
sudo modprobe brcmfmac || true
|
||||
sudo modprobe -r hci_bcm4377 || true
|
||||
sudo modprobe hci_bcm4377 || true
|
||||
echo "Cleaning up"
|
||||
sudo rm -r /tmp/apple-wifi-fw
|
||||
echo "Keeping a copy of the firmware and the script in the EFI partition shall allow you to set up Wi-Fi again in the future by running this script or the commands told in the macOS step in Linux only, without the macOS step. Do you want to keep a copy? (y/N)"
|
||||
|
||||
Reference in New Issue
Block a user