FreeBSD Bugzilla – Attachment 189432 Details for
Bug 224924
/etc/periodic/: Use environment variable 'security_status_logdir' and Support for xz format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/periodic/monthly/200.accounting
accounting.patch (text/plain), 754 bytes, created by
takefu
on 2018-01-05 07:38:38 UTC
(
hide
)
Description:
/etc/periodic/monthly/200.accounting
Filename:
MIME Type:
Creator:
takefu
Created:
2018-01-05 07:38:38 UTC
Size:
754 bytes
patch
obsolete
>--- /etc/periodic/monthly/200.accounting.orig 2017-08-15 08:04:52.227897000 +0000 >+++ /etc/periodic/monthly/200.accounting 2018-01-05 07:17:01.733077000 +0000 >@@ -11,11 +11,15 @@ then > source_periodic_confs > fi > >+security_daily_compat_var security_status_logdir >+ >+LOG="${security_status_logdir}" >+ > oldmask=$(umask) > umask 066 > case "$monthly_accounting_enable" in > [Yy][Ee][Ss]) >- W=/var/log/utx.log >+ W=${LOG}/utx.log > rc=0 > remove=NO > if [ ! -f $W.0 ] >@@ -28,6 +32,10 @@ case "$monthly_accounting_enable" in > then > remove=YES > bzcat $W.0.bz2 > $W.0 || rc=1 >+ elif [ -f $W.0.xz ] >+ then >+ remove=YES >+ xzcat $W.0.xz > $W.0 || rc=1 > else > echo '$monthly_accounting_enable is set but' \ > "$W.0 doesn't exist"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224924
:
189429
|
189430
|
189431
| 189432