From 7aa880fd6acefbe37596ea37da918b2ff006e2f0 Mon Sep 17 00:00:00 2001 From: Hideki Yamane Date: Sun, 16 Jul 2017 23:32:29 +0900 Subject: [PATCH] detect POWER cpu (e.g. POWER8E) It was tested on Debian POWER8E porterbox --- screenfetch-dev | 2 ++ 1 file changed, 2 insertions(+) diff --git a/screenfetch-dev b/screenfetch-dev index 4599e83..d817902 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -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