mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/disk: fix up reading of MONITORED_DISK
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
f813487cb1
commit
b3f3956a79
2 changed files with 6 additions and 2 deletions
3
bin/disk
3
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
|
||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue