Skip to content

Instantly share code, notes, and snippets.

@macdet
Forked from patrickgill/mac_firmware.sh
Created January 5, 2020 20:52
Show Gist options
  • Save macdet/aaf42d3f48065bb41b49444d5be1f90c to your computer and use it in GitHub Desktop.
Save macdet/aaf42d3f48065bb41b49444d5be1f90c to your computer and use it in GitHub Desktop.
#!/bin/bash
#About the SMC Firmware Updates (outdated), https://support.apple.com/en-au/HT202040
sysctl hw.model
system_profiler SPHardwareDataType | grep -i "Version" | awk -F ':' '{print $1 $2}'
/usr/libexec/firmwarecheckers/eficheck/eficheck --integrity-check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment