Introduce a new option, daily_status_disks_df_flags, which specifies
the command-line arguments to be used for the call to df(1) when daily_status_disks_enable is set to YES. The name of the new variable was chosen by the maintainer of our periodic hierarchy, Brian Somers. PR: 19631
This commit is contained in:
parent
2b34dd0bea
commit
b896bc0c05
@ -81,6 +81,7 @@ daily_uuclean_enable="YES" # Run uuclean.daily
|
||||
|
||||
# 400.status-disks
|
||||
daily_status_disks_enable="YES" # Check disk status
|
||||
daily_status_disks_df_flags="-h -t nonfs" # df(1) flags for check
|
||||
|
||||
# 410.status-uucp
|
||||
daily_status_uucp_enable="YES" # Check uucp status
|
||||
|
@ -16,7 +16,7 @@ case "$daily_status_disks_enable" in
|
||||
echo ""
|
||||
echo "Disk status:"
|
||||
|
||||
df -k -t nonfs
|
||||
df $daily_status_disks_df_flags
|
||||
|
||||
# display which filesystems need backing up
|
||||
|
||||
|
@ -216,13 +216,24 @@ if you want to run
|
||||
.Dq YES
|
||||
if you want to run
|
||||
.Pa /etc/uuclean.daily .
|
||||
.it Ar daily_status_disks_enable
|
||||
.It Ar daily_status_disks_enable
|
||||
(bool) Set to
|
||||
.Dq YES
|
||||
if you want to run
|
||||
.Ic df -k -t nonfs
|
||||
.Xr df 1
|
||||
.Po
|
||||
with the arguments supplied in
|
||||
.Ar daily_status_disks_df_flags
|
||||
.Pc
|
||||
and
|
||||
.Ic dump W .
|
||||
.It Ar daily_status_disks_df_flags
|
||||
(str) Set to the arguments for the
|
||||
.Xr df 1
|
||||
utility when
|
||||
.Ar daily_status_disks_enable
|
||||
is set to
|
||||
.Dq YES .
|
||||
.It Ar daily_status_uucp_enable
|
||||
(bool) Set to
|
||||
.Dq YES
|
||||
|
Loading…
Reference in New Issue
Block a user