* bin/disk: fix up reading of MONITORED_DISK

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-08-17 13:35:03 -05:00
commit b3f3956a79
2 changed files with 6 additions and 2 deletions

View file

@ -25,7 +25,8 @@ if [ "$1" = "--detail" ]; then
fi
# Default to /, but let users override
[ -n "$MONITORED_DISK" ] || MP="/"
MP="/"
[ -n "$MONITORED_DISK" ] && MP="$MONITORED_DISK"
case $MP in
/dev/*) MP=`grep "$MP" /proc/mounts | awk '{print $2}'` ;;
esac

5
debian/changelog vendored
View file

@ -4,8 +4,11 @@ byobu (2.26) unreleased; urgency=low
* bin/disk, bin/logo, bin/network, bin/release, bin/temp_c, bin/temp_f,
byobu-janitor: move config files to sourced config file, use
janitor item to clean up
* byobu-status: source, rather than exec the target status script,
such that the script inherits the source status config variables
* bin/disk: fix up reading of MONITORED_DISK
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 17 Aug 2009 13:19:50 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 17 Aug 2009 13:34:45 -0500
byobu (2.25-0ubuntu1) karmic; urgency=low