mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
Default daily_accounting_flags to -q. I thought this was a typo in the
originally submitted patch (oops!). Also check for an empty $daily_accounting_save. Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de>
This commit is contained in:
parent
6cf2606901
commit
f8fb1acb36
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77496
@ -79,7 +79,7 @@ daily_calendar_enable="NO" # Run calendar -a
|
||||
# 310.accounting
|
||||
daily_accounting_enable="YES" # Rotate acct files
|
||||
daily_accounting_compress="NO" # Gzip rotated files
|
||||
daily_accounting_flags= # Flags to /usr/sbin/sa
|
||||
daily_accounting_flags=-q # Flags to /usr/sbin/sa
|
||||
daily_accounting_save=3 # How many files to save
|
||||
|
||||
# 320.distfile
|
||||
|
@ -18,6 +18,11 @@ case "$daily_accounting_enable" in
|
||||
echo '$daily_accounting_enable is set but /var/account/acct' \
|
||||
"doesn't exist"
|
||||
rc=2
|
||||
elif [ -z "$daily_accounting_save" ]
|
||||
then
|
||||
echo '$daily_accounting_enable is set but ' \
|
||||
'$daily_accounting_save is not'
|
||||
rc=2
|
||||
else
|
||||
echo ""
|
||||
echo "Rotating accounting logs and gathering statistics:"
|
||||
|
@ -316,6 +316,8 @@ when
|
||||
.Ar daily_accounting_enable
|
||||
is set to
|
||||
.Dq YES .
|
||||
The default is
|
||||
.Fl q .
|
||||
.It Va daily_distfile_enable
|
||||
.Pq Vt bool
|
||||
Set to
|
||||
|
Loading…
Reference in New Issue
Block a user