mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-23 06:36:17 -07:00
* 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:
parent
4f44748c10
commit
b17acbffe4
2 changed files with 5 additions and 0 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue