mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-09 22:37:57 -05:00
detect POWER cpu (e.g. POWER8E)
It was tested on Debian POWER8E porterbox
This commit is contained in:
@@ -1204,6 +1204,8 @@ detectcpu () {
|
||||
model="IBM PowerPC G3 "
|
||||
elif [[ $cpu =~ ^74.+ ]]; then
|
||||
model="Motorola PowerPC G4 "
|
||||
elif [[ $cpu =~ ^POWER.* ]]; then
|
||||
model="IBM POWER "
|
||||
elif [[ "$(cat /proc/cpuinfo)" =~ "BCM2708" ]]; then
|
||||
model="Broadcom BCM2835 ARM1176JZF-S"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user