mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* bin/cpu-freq: only print cpu-freq if available
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
dba11a9361
commit
da65a2847c
2 changed files with 3 additions and 3 deletions
|
@ -22,4 +22,4 @@ mhz=`egrep -i -m 1 "^cpu MHz|^clock|^bogomips" /proc/cpuinfo | awk -F"[:.]" '{pr
|
|||
speed=$(echo $mhz | awk '{ printf "%.1f", $1 / 1000 }')
|
||||
unit="GHz"
|
||||
|
||||
printf "\005{= cW}%s$unit\005{-} " $speed
|
||||
[ -n "$speed" ] && printf "\005{= cW}%s$unit\005{-} " $speed
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
screen-profiles (1.51) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* bin/cpu-freq: only print cpu-freq if available
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 23 Apr 2009 17:10:47 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 24 Apr 2009 09:22:16 -0500
|
||||
|
||||
screen-profiles (1.50-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue