Commit 1f62df8b authored by Thiago H. S. Picharski's avatar Thiago H. S. Picharski Committed by Josiney de Souza

disk.tree: Modified hdd used value from percentage to GiB scale

Signed-off-by: default avatarThiago H. S. Picharski <>
Acked-by: default avatarDanilo Kiyoshi Simizu Yorinori <>
Acked-by: default avatarDiego Pasqualin <>
Signed-off-by: default avatarJosiney de Souza <>
parent 8215b308
......@@ -84,9 +84,8 @@ if test -d "/dev/disk/by-id/"; then
# Percentage used of disk
disks="${disks}<used value=\"$((${diskUsed}*102400/${diskSize}
))\" type=\"int\"/>"
# Disk used value in GiB scale
disks="${disks}<used value=\"$((${diskUsed}/1048576))\" type=\"int\"/>"
(( number=${number}+1 ))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment