summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/controller/admin')
-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 9b09e27667..ca4169db63 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 = { }