diff --git a/bin/disk b/bin/disk index 1ee24ed4..6831e326 100755 --- a/bin/disk +++ b/bin/disk @@ -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 diff --git a/debian/changelog b/debian/changelog index fa46723a..2d7ee349 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 17 Aug 2009 13:19:50 -0500 + -- Dustin Kirkland Mon, 17 Aug 2009 13:34:45 -0500 byobu (2.25-0ubuntu1) karmic; urgency=low