system: add diskfree infos to ubus
authorFlorian Eckert <[email protected]>
Wed, 17 Nov 2021 10:41:17 +0000 (11:41 +0100)
committerDaniel Golle <[email protected]>
Tue, 23 Nov 2021 13:00:54 +0000 (13:00 +0000)
commit8de12dec298898d133256fdaac584a26adae2cc5
tree5188a1f20bce1f179832e5772f8bed11b916fe4c
parent9d1431e1309e1acee06c016acc08cb7650b1d0af
system: add diskfree infos to ubus

This change adds the missing information about how much space is available
on the root directory and in the temp directory. I took this
implementation from the luci2 repository and adapted it for the procd
service.

Signed-off-by: Florian Eckert <[email protected]>
system.c