Include df -h in debug log

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2021-10-08 21:50:46 +02:00
parent ab27a3bd45
commit a0ecfcc1dc

View file

@ -585,6 +585,13 @@ processor_check() {
fi
}
disk_usage() {
local df
echo_current_diagnostic "Disk usage"
DF=$(df -h)
log_write "${DF}";
}
parse_setup_vars() {
echo_current_diagnostic "Setup variables"
# If the file exists,
@ -1421,6 +1428,7 @@ diagnose_operating_system
check_selinux
check_firewalld
processor_check
disk_usage
check_networking
check_name_resolution
check_dhcp_servers