mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Upercase the temp_unit
Signed-off-by: Samuel Boucher <scboucher@users.noreply.github.com>
This commit is contained in:
parent
4bef49e2eb
commit
8b4921405a
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ get_sys_stats() {
|
|||
sys_name=$(hostname)
|
||||
|
||||
[[ -n "$TEMPERATUREUNIT" ]] && temp_unit="$TEMPERATUREUNIT" || temp_unit="c"
|
||||
temp_unit="${temp_unit^^}"
|
||||
|
||||
# Get storage stats for partition mounted on /
|
||||
read -r -a disk_raw <<< "$(df -B1 / 2> /dev/null | awk 'END{ print $3,$2,$5 }')"
|
||||
|
|
Loading…
Reference in a new issue