scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 5d94854fa4849e3bbf4369671263e49c02bf4e7e
parent 732d6ffb84c4735eee0383f5c58917052573c175
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Tue Oct  1 08:22:04 +0200

Fixed a weird issue from /proc/cpuinfo where cpu appears twice under to "different" strings

Diffstat:
info.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.sh b/info.sh @@ -22,7 +22,7 @@ f1=$'\e[1;37m' f2=$'\e[0;37m' kernel=$(uname -rmo) -cpuspe=$(grep 'model name' /proc/cpuinfo| uniq| sed 's/^.*:\ *//') +cpuspe=$(grep 'model name' /proc/cpuinfo| sed 1q|sed 's/^.*:\ *//') system=$(lsb_release -d | sed 's/^.*:\s*//')