fix wifi string processing for arm

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-09-15 00:17:32 -05:00
commit 806a29c86d
2 changed files with 3 additions and 3 deletions

View file

@ -25,5 +25,5 @@ fi
iwconfig=`/sbin/iwconfig 2>/dev/null`
bitrate=`echo "$iwconfig" | grep "Bit Rate." | sed -e "s/^.*Bit Rate.//" -e "s/ .*$//g"`
[ -z "$bitrate" ] && bitrate="0"
quality=`echo "$iwconfig" | grep "Link Quality=" | sed -e "s/^.*Link Quality=//" -e "s/ .*$//g"`
quality=`echo "$iwconfig" | grep "Link Quality." | sed -e "s/^.*Link Quality.//" -e "s/ .*$//g"`
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
View file

@ -1,10 +1,10 @@
byobu (2.33) unreleased; urgency=low
* cpu_count, disk, logo, network, reboot_required, release, temp_c,
temp_f, updates_available: make byobu status scripts friendlier
temp_f, updates_available, wifi: make byobu status scripts friendlier
for busybox environments (tested on the Palm Pre)
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 14 Sep 2009 23:47:29 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 15 Sep 2009 00:17:15 -0500
byobu (2.32-0ubuntu1) karmic; urgency=low