mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Include df -h in debug log
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
ab27a3bd45
commit
a0ecfcc1dc
1 changed files with 8 additions and 0 deletions
|
@ -585,6 +585,13 @@ processor_check() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disk_usage() {
|
||||||
|
local df
|
||||||
|
echo_current_diagnostic "Disk usage"
|
||||||
|
DF=$(df -h)
|
||||||
|
log_write "${DF}";
|
||||||
|
}
|
||||||
|
|
||||||
parse_setup_vars() {
|
parse_setup_vars() {
|
||||||
echo_current_diagnostic "Setup variables"
|
echo_current_diagnostic "Setup variables"
|
||||||
# If the file exists,
|
# If the file exists,
|
||||||
|
@ -1421,6 +1428,7 @@ diagnose_operating_system
|
||||||
check_selinux
|
check_selinux
|
||||||
check_firewalld
|
check_firewalld
|
||||||
processor_check
|
processor_check
|
||||||
|
disk_usage
|
||||||
check_networking
|
check_networking
|
||||||
check_name_resolution
|
check_name_resolution
|
||||||
check_dhcp_servers
|
check_dhcp_servers
|
||||||
|
|
Loading…
Reference in a new issue