diff --git a/docs/tools/firmware.sh b/docs/tools/firmware.sh index 435f4cb04..f8c8935dc 100644 --- a/docs/tools/firmware.sh +++ b/docs/tools/firmware.sh @@ -25,10 +25,10 @@ case "$os" in echo "Getting Wi-Fi and Bluetooth firmware" if [[ ${1-default} = -v ]] then - tar -cvf "/Volumes/${EFILABEL}/firmware.tar" /usr/share/firmware/* + tar -cvf "/Volumes/${EFILABEL}/firmware.tar" -C /usr/share/firmware/ . gzip --best "/Volumes/${EFILABEL}/firmware.tar" else - tar -cf "/Volumes/${EFILABEL}/firmware.tar" /usr/share/firmware/* + tar -cf "/Volumes/${EFILABEL}/firmware.tar" -C /usr/share/firmware/ . gzip --best "/Volumes/${EFILABEL}/firmware.tar" fi if [[ (${identifier} = iMac19,1) || (${identifier} = iMac19,2) || (${identifier} = iMacPro1,1) ]] @@ -105,6 +105,7 @@ case "$os" in rm -r $workdir/* rmdir $mountpoint echo "Reloading Wi-Fi drivers" + modprobe -r brcmfmac_wcc modprobe -r brcmfmac modprobe brcmfmac modprobe -r hci_bcm4377