mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-10-15 10:29:31 +00:00
Fix long CPU name on AMD
This commit is contained in:
1 parent
5b910d87a5
commit
7c5b1ca755
1 file changed
+3
-1
+3
-1
@@ -50,8 +50,10 @@ vendor="${vendor##*Authentic}"
|
||||
vendor="${vendor##*Genuine}"
|
||||
cpu="${cpu##*) }"
|
||||
cpu="${cpu%% @*}"
|
||||
cpu="${cpu##CPU }"
|
||||
cpu="${cpu%% CPU}"
|
||||
cpu="${cpu##CPU }"
|
||||
cpu="${cpu##*AMD }"
|
||||
cpu="${cpu%% with*}"
|
||||
|
||||
## Uptime
|
||||
# the simple math is shamefully stolen from aosync
|
||||
|
||||
Reference in new issue
Block a user