mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* bin/cpu-freq: fix for powerpc, fix for arm
* screen-profiles-status: use home bin scripts, if available first, then fallback to system-wide, allows for local overrides -- Dustin Kirkland <kirkland@ubuntu.com>Thu, 16 Apr 2009 12:27:13 -0500
This commit is contained in:
parent
01ec4dfdd8
commit
6a04028343
3 changed files with 8 additions and 6 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=`egrep -m 1 "^cpu MHz|^clock" /proc/cpuinfo | awk -F"[:.]" '{print $2}'`
|
||||
mhz=`egrep -i -m 1 "^cpu MHz|^clock|^bogomips" /proc/cpuinfo | awk -F"[:.]" '{print $2}'`
|
||||
|
||||
if [ $mhz -ge 1000 ]; then
|
||||
speed=$(echo $mhz | awk '{ printf "%.1f", $1 / 1000 }')
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,13 +1,15 @@
|
|||
screen-profiles (1.45) unreleased; urgency=low
|
||||
|
||||
[ Dustin Kirkland ]
|
||||
* bin/cpu-freq: fix for powerpc
|
||||
* bin/cpu-freq: fix for powerpc, fix for arm
|
||||
* bin/uptime: don't print seconds, since we don't update often enough
|
||||
* screen-profiles-status: use home bin scripts, if available first,
|
||||
then fallback to system-wide, allows for local overrides
|
||||
|
||||
[ Jon Bernard <bernardj@gmail.com> ]
|
||||
* debian/control: fix typo in screen-profiles-extras description
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Apr 2009 10:15:10 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Apr 2009 12:27:13 -0500
|
||||
|
||||
screen-profiles (1.44-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
renice 10 $$ >/dev/null 2>&1 || true
|
||||
ionice -c3 -p $$ >/dev/null 2>&1 || true
|
||||
|
||||
if [ -d "/var/lib/screen-profiles" ]; then
|
||||
DIR="/var/lib/screen-profiles"
|
||||
elif [ -d "$HOME/.screen-profiles/bin" ]; then
|
||||
if [ -d "$HOME/.screen-profiles/bin" ]; then
|
||||
DIR="$HOME/.screen-profiles/bin"
|
||||
elif [ -d "/var/lib/screen-profiles" ]; then
|
||||
DIR="/var/lib/screen-profiles"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue