applications/luci-vnstat: move to status menu
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_system / ipkg.lua
index fecc294..1db0f11 100644 (file)
@@ -14,16 +14,16 @@ $Id$
 ]]--
 local ipkgfile = "/etc/opkg.conf" 
 
-f = SimpleForm("ipkgconf", translate("a_s_p_ipkg"))
+f = SimpleForm("ipkgconf", translate("OPKG-Configuration"))
 
 t = f:field(TextValue, "lines")
 t.rows = 10
 function t.cfgvalue()
-       return luci.fs.readfile(ipkgfile) or ""
+       return nixio.fs.readfile(ipkgfile) or ""
 end
 
 function t.write(self, section, data)
-       return luci.fs.writefile(ipkgfile, data:gsub("\r\n", "\n"))
+       return nixio.fs.writefile(ipkgfile, data:gsub("\r\n", "\n"))
 end
 
 f:append(Template("admin_system/ipkg"))