Revert "Model: Add support for Hackintosh"

This commit is contained in:
Dylan Araps 2017-05-28 14:44:13 +10:00 committed by GitHub
parent e68fc1167b
commit 593ca37d26

View file

@ -242,13 +242,7 @@ get_model() {
fi
;;
"Mac OS X")
if [[ "$(kextstat | grep "FakeSMC")" ]]; then
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
else
model="$(sysctl -n hw.model)"
fi
;;
"Mac OS X") model="$(sysctl -n hw.model)" ;;
"iPhone OS")
case "$machine_arch" in
"iPad1,1") model="iPad" ;;