blob: b83978545ff828b72330979f548b73df211c4042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- alpineversion model methods
module (..., package.seeall)
fs = require("acf.fs")
get = function ()
local liboutput = fs.read_file("/etc/alpine-release")
if (liboutput == nil) or (liboutput == "") then
liboutput = "Unknown version"
end
return cfe({ value=liboutput, label="Alpine version" })
end
|