luci-mod-admin-full: fix missing nixio.fs require
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:34:48 +0000 (16:34 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:34:48 +0000 (16:34 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-admin-full/luasrc/controller/admin/system.lua

index 9b09e27667814666ccb421327c47bb270eb6f724..ca4169db6394ff6c9e993bdec679bad7e6a51306 100644 (file)
@@ -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 = { }