mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +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
|
||||
}
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue