summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-15 16:34:48 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-15 16:34:48 +0100
commita35fffe3c3266aa768a332674c5cfcc39a3f1c51 (patch)
treede22e6ff31f1b6d7917d8c264f3ff4472a55f8a3 /modules/luci-mod-admin-full/luasrc/controller
parent7aa838988f09c461fc3e4e2cb13656e39ea2102d (diff)
luci-mod-admin-full: fix missing nixio.fs require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/controller')
-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 = { }