summaryrefslogtreecommitdiffstats
path: root/alpineversion-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'alpineversion-model.lua')
-rw-r--r--alpineversion-model.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/alpineversion-model.lua b/alpineversion-model.lua
index 67a348c..ac20bb8 100644
--- a/alpineversion-model.lua
+++ b/alpineversion-model.lua
@@ -1,11 +1,9 @@
-- alpineversion model methods
module (..., package.seeall)
--- no initializer in model - use controller.init for that
-
+fs = fs = require("acf.fs")
get = function ()
- require("fs")
local liboutput = fs.read_file("/etc/alpine-release")
if (liboutput == nil) or (liboutput == "") then
liboutput = "Unknown version"