From 2bcfdab6d1157f85db4f38e3503a5ee9d1c2696d Mon Sep 17 00:00:00 2001 From: dylan araps Date: Tue, 5 Jan 2016 18:25:19 +1100 Subject: [PATCH] Fixed doubled cpu speed in Windows --- fetch.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/fetch.sh b/fetch.sh index 16ee8794..483a7c13 100755 --- a/fetch.sh +++ b/fetch.sh @@ -476,15 +476,6 @@ getcpu () { cpu=${cpu/model name*: /} cpu=${cpu// /} cpu=${cpu% } - - speed=$(grep 'cpu MHz' /proc/cpuinfo) - speed=${speed/cpu MHz*: /} - speed=${speed/\./} - - # Convert mhz to ghz without bc - speed=$((${speed} / 100000)) - speed=${speed:0:1}.${speed:1} - cpu="$cpu @ ${speed}GHz" ;; *)