general: Faster grep
This commit is contained in:
parent
a37ee9a833
commit
caea0f059c
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1039,7 +1039,7 @@ get_model() {
|
|||
;;
|
||||
|
||||
"Mac OS X")
|
||||
if [[ "$(kextstat | grep -E "FakeSMC|VirtualSMC")" != "" ]]; then
|
||||
if [[ "$(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC")" != "" ]]; then
|
||||
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
||||
else
|
||||
model="$(sysctl -n hw.model)"
|
||||
|
|
Loading…
Reference in a new issue