* usr/bin/byobu-janitor:

- on initial setup, if it looks like we're running in ec2, enable
    ec2_cost monitor
This commit is contained in:
Dustin Kirkland 2011-05-25 17:40:45 -05:00
commit b17acbffe4
2 changed files with 5 additions and 0 deletions

3
debian/changelog vendored
View file

@ -16,6 +16,9 @@ byobu (4.3) unreleased; urgency=low
ignore network traffic less than threshold, less busy status
- add support for a disk threshold setting; set to 50kB/s by default,
ignore disk traffic less than threshold, less busy status
* usr/bin/byobu-janitor:
- on initial setup, if it looks like we're running in ec2, enable
ec2_cost monitor
[ Scott Moser ]
* usr/lib/byobu/.shutil: fix rounding across a decimal point in fpdiv()

View file

@ -109,6 +109,8 @@ if [ ! -r "$DATA/status" ]; then
skel=/dev/null
fi
grep -A 999999 BEGIN_CUT_HERE $skel | grep -B 999999 END_CUT_HERE | grep -v CUT > "$DATA/status"
# If it looks like we're running in ec2, enable ec2_cost by default
[ -x /usr/sbin/update-grub-legacy-ec2 ] && sed -i "s/ec2_cost=.*/ec2_cost=1/" "$DATA/status"
fi
[ -r "$DATA/windows" ] || touch "$DATA/windows"
[ -r "$HOME/.screenrc" ] || touch "$HOME/.screenrc"