mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 13:33:23 -07:00
* usr/lib/byobu/network: fix network script regresssion, LP: #506315
* usr/lib/byobu/wifi_quality: silence error - debian/install, usr/bin/*: move the binary scripts
This commit is contained in:
parent
63e194afc9
commit
4a7e06f363
18 changed files with 12 additions and 20 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,11 +1,13 @@
|
||||||
byobu (2.47) unreleased; urgency=low
|
byobu (2.47) unreleased; urgency=low
|
||||||
|
|
||||||
* bin/network: fix network script regresssion, LP: #506315
|
* usr/lib/byobu/network: fix network script regresssion, LP: #506315
|
||||||
|
* usr/lib/byobu/wifi_quality: silence error
|
||||||
* Make byobu more portable, LP: #503554
|
* Make byobu more portable, LP: #503554
|
||||||
- debian/rules, debian/manpages, usr/share/man/man1/*: move the manpages
|
- debian/rules, debian/manpages, usr/share/man/man1/*: move the manpages
|
||||||
to make byobu more portable
|
to make byobu more portable
|
||||||
- debian/install, bin/*, usr/lib/byobu/*: move the status scripts
|
- debian/install, bin/*, usr/lib/byobu/*: move the status scripts
|
||||||
- debian/install, usr/share/byobu/*: move the share files
|
- debian/install, usr/share/byobu/*: move the share files
|
||||||
|
- debian/install, usr/bin/*: move the binary scripts
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 11 Jan 2010 22:54:36 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 11 Jan 2010 22:54:36 -0600
|
||||||
|
|
||||||
|
|
13
debian/install
vendored
13
debian/install
vendored
|
@ -1,20 +1,9 @@
|
||||||
|
usr/bin/*
|
||||||
usr/lib/byobu/*
|
usr/lib/byobu/*
|
||||||
#desktop/byobu.svg usr/share/byobu/pixmaps/
|
#desktop/byobu.svg usr/share/byobu/pixmaps/
|
||||||
#desktop/byobu.desktop usr/share/applications/
|
#desktop/byobu.desktop usr/share/applications/
|
||||||
po/locale/* usr/share/locale
|
po/locale/* usr/share/locale
|
||||||
usr/share/byobu/*
|
usr/share/byobu/*
|
||||||
statusrc etc/byobu
|
statusrc etc/byobu
|
||||||
byobu-select-profile usr/bin
|
|
||||||
byobu usr/bin
|
|
||||||
byobu-config usr/bin
|
|
||||||
byobu-reconnect-sockets usr/bin
|
|
||||||
byobu-status usr/bin
|
|
||||||
byobu-status-detail usr/bin
|
|
||||||
byobu-janitor usr/bin
|
|
||||||
byobu-launcher-install usr/bin
|
|
||||||
byobu-launcher-uninstall usr/bin
|
|
||||||
motd+shell usr/bin
|
|
||||||
byobu-launcher usr/bin
|
|
||||||
byobu-export usr/bin
|
|
||||||
debian/source_byobu.py usr/share/apport/package-hooks
|
debian/source_byobu.py usr/share/apport/package-hooks
|
||||||
debian/lintian/byobu usr/share/lintian/overrides
|
debian/lintian/byobu usr/share/lintian/overrides
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# List of source files containing translatable Python strings.
|
# List of source files containing translatable Python strings.
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
byobu-config
|
usr/bin/byobu-config
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# List of source files containing translatable sh strings.
|
# List of source files containing translatable sh strings.
|
||||||
# Please keep this file sorted alphabetically.
|
# Please keep this file sorted alphabetically.
|
||||||
usr/lib/byobu/menu
|
usr/lib/byobu/menu
|
||||||
byobu-export
|
usr/bin/byobu-export
|
||||||
byobu-select-profile
|
usr/bin/byobu-select-profile
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PKG=byobu
|
||||||
RUNS=100
|
RUNS=100
|
||||||
|
|
||||||
loop() {
|
loop() {
|
||||||
for j in $(seq 1 $RUNS); do
|
for j in $(seq 1 $RUNS); do
|
||||||
./bin/$1 >/dev/null
|
/usr/lib/$PKG/$1 >/dev/null
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,10 +13,10 @@ TIMEFORMAT="%R"
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
list="$1"
|
list="$1"
|
||||||
else
|
else
|
||||||
list=$(ls bin)
|
list=$(ls /usr/lib/$PKG/)
|
||||||
fi
|
fi
|
||||||
for i in $list; do
|
for i in $list; do
|
||||||
freq=`grep "byobu-status $i" ./profiles/common | awk '{print $3}'`
|
freq=`grep "byobu-status $i" /usr/share/$PKG/profiles/common | awk '{print $3}'`
|
||||||
echo -n "$i $freq "
|
echo -n "$i $freq "
|
||||||
time loop $i
|
time loop $i
|
||||||
done
|
done
|
||||||
|
|
|
@ -27,6 +27,6 @@ fi
|
||||||
|
|
||||||
iwconfig=`/sbin/iwconfig 2>/dev/null`
|
iwconfig=`/sbin/iwconfig 2>/dev/null`
|
||||||
bitrate=`echo "$iwconfig" | grep "Bit Rate." | sed -e "s/^.*Bit Rate.//" -e "s/ .*$//g"`
|
bitrate=`echo "$iwconfig" | grep "Bit Rate." | sed -e "s/^.*Bit Rate.//" -e "s/ .*$//g"`
|
||||||
[ -z "$bitrate" ] && bitrate="0"
|
[ -z "$bitrate" ] && exit 0
|
||||||
quality=`echo "$iwconfig" | grep "Link Quality." | sed -e "s/^.*Link Quality.//" -e "s/ .*$//g" | awk -F/ '{printf "%.0f", 100*$1/$2}'`
|
quality=`echo "$iwconfig" | grep "Link Quality." | sed -e "s/^.*Link Quality.//" -e "s/ .*$//g" | awk -F/ '{printf "%.0f", 100*$1/$2}'`
|
||||||
printf "$(color b C k)%s$(color -)$(color C k)%s,$(color -)$(color b C k)%s$(color -)$(color C k)%%$(color -) " "$bitrate" "Mbps" "$quality"
|
printf "$(color b C k)%s$(color -)$(color C k)%s,$(color -)$(color b C k)%s$(color -)$(color C k)%%$(color -) " "$bitrate" "Mbps" "$quality"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue