From a35fffe3c3266aa768a332674c5cfcc39a3f1c51 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 16:34:48 +0100 Subject: luci-mod-admin-full: fix missing nixio.fs require Signed-off-by: Jo-Philipp Wich --- modules/luci-mod-admin-full/luasrc/controller/admin/system.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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 = { } -- cgit v1.2.3