afc3b53891
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
26 lines
388 B
Bash
Executable File
26 lines
388 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# If there is a global system configuration file, suck it in.
|
|
#
|
|
if [ -r /etc/defaults/periodic.conf ]
|
|
then
|
|
. /etc/defaults/periodic.conf
|
|
source_periodic_confs
|
|
fi
|
|
|
|
case "$daily_status_disks_enable" in
|
|
[Yy][Ee][Ss])
|
|
echo ""
|
|
echo "Disk status:"
|
|
|
|
df $daily_status_disks_df_flags
|
|
|
|
# display which filesystems need backing up
|
|
|
|
echo ""
|
|
dump W;;
|
|
esac
|