summaryrefslogtreecommitdiffstats
path: root/health-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'health-model.lua')
-rw-r--r--health-model.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/health-model.lua b/health-model.lua
index 0594738..374368d 100644
--- a/health-model.lua
+++ b/health-model.lua
@@ -35,6 +35,7 @@ get_system = function (self)
local system = {}
system.uptime = querycmd("/usr/bin/uptime")
system.date = querycmd("/bin/date")
+ system.version = fs.read_file("/etc/alpine-release") or "Unknown"
system.timezone = date.what_tz()
system.uname = querycmd("/bin/uname -a")
local used, useddebug = getpercentage(querycmd("/usr/bin/free"), "Total:", 3, 4)