]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC r227482:
authordougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:47:51 +0000 (05:47 +0000)
committerdougb <dougb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2011 05:47:51 +0000 (05:47 +0000)
commit6f547c321d1be2e28533429dc6f22e45ebfa65a3
tree447857f72f628d9b3ab05f87ab3592a9ddc418f9
parent3d9303ad02037216a971375b568960fda2c45e19
MFC r227482:

The default setting, daily_accounting_compress="NO", was causing
only 1 old file to be saved, so fix this.

While I'm here, fix a very old off-by-one error causing 1 more
file than specified in daily_accounting_save to be saved because
acct.0 was not taken into account (pun intended). Change that, and
use a more thorough method of finding old files to delete. Partly
just because this is the right thing to do, but also to silently
fix the extra log that would have been left behind forever with the
previous method.

Approved by: re (kensmith)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@228166 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/periodic/daily/310.accounting