summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-admin-full/luasrc/controller/admin/system.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
index 9b09e2766..ca4169db6 100644
--- a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
+++ b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
@@ -64,7 +64,8 @@ function action_clock_status()
end
function action_packages()
- local ipkg = require("luci.model.ipkg")
+ local fs = require "nixio.fs"
+ local ipkg = require "luci.model.ipkg"
local submit = luci.http.formvalue("submit")
local changes = false
local install = { }