mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/wifi_quality: actually evaluate the wifi quality, fixes broken
quality percentage Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
9c5994840d
commit
bf62296b09
2 changed files with 4 additions and 2 deletions
|
@ -26,4 +26,4 @@ iwconfig=`/sbin/iwconfig 2>/dev/null`
|
|||
bitrate=`echo "$iwconfig" | grep "Bit Rate." | sed "s/^.*Bit Rate.//" | sed "s/ .*$//g"`
|
||||
[ -z "$bitrate" ] && bitrate="0"
|
||||
quality=`echo "$iwconfig" | grep "Link Quality=" | sed "s/^.*Link Quality=//" | sed "s/ .*$//g"`
|
||||
echo "$bitrate" "$quality" | awk '{printf "\005{=b Ck}%s\005{-}\005{= Ck}Mb/s,\005{-}\005{=b Ck}%.0f\005{-}\005{= Ck}%%\005{-} ", $1, $2}'
|
||||
echo | awk "{printf \"\005{=b Ck}%s\005{-}\005{= Ck}Mb/s,\005{-}\005{=b Ck}%d\005{-}\005{= Ck}%%\005{-} \", $bitrate, 100*$quality}"
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -10,8 +10,10 @@ byobu (2.24) unreleased; urgency=low
|
|||
* debian/rules: fix update-pot section of rules file; previous code
|
||||
was only actually gathering messages from the last file input
|
||||
(byobu-config); this joins the code properly
|
||||
* bin/wifi_quality: actually evaluate the wifi quality, fixes broken
|
||||
quality percentage
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 24 Jul 2009 08:54:31 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Jul 2009 23:52:25 -0500
|
||||
|
||||
byobu (2.23-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue