From 0f852344dc6758605321bccec501d0c26c6e4c6f Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 24 Jan 2008 20:06:20 +0000 Subject: Added information on alpine version git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@642 ab2d0c66-481e-0410-8bed-d214d4d58bed --- health-model.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'health-model.lua') 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) -- cgit v1.2.3