mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
bin/cpu-freq: fix for powerpc
This commit is contained in:
parent
688baf559e
commit
3adcfac0db
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
mhz=`grep -m 1 "^cpu MHz" /proc/cpuinfo | awk -F"[:.]" '{print $2}'` || mhz=`grep -m 1 "^clock" /proc/cpuinfo | awk -F"[:.]" '{print $2}'`
|
||||
mhz=`egrep -m 1 "^cpu MHz|^clock" /proc/cpuinfo | awk -F"[:.]" '{print $2}'`
|
||||
|
||||
if [ $mhz -ge 1000 ]; then
|
||||
speed=$(echo $mhz | awk '{ printf "%.1f", $1 / 1000 }')
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
screen-profiles (1.45) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* bin/cpu-freq: fix for powerpc
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 08 Apr 2009 15:07:16 -0700
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 09 Apr 2009 11:05:35 -0700
|
||||
|
||||
screen-profiles (1.44-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue