convert luci.fs users to nixio.fs api
[project/luci.git] / applications / luci-statistics / luasrc / view / admin_statistics / systemplugins.htm
index 0c1b2b5..0e801c7 100644 (file)
@@ -19,7 +19,7 @@ $Id$
 <p><%:stat_systemplugins_desc System plugins collecting values about system state and ressource usage on the device.:%>
        <ul>
                <% for plugin, desc in pairs(plugins) do %>
-                       <% if luci.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
+                       <% if nixio.fs.access("/usr/lib/collectd/" .. plugin .. ".so") then %>
                                <li><a href="<%=controller%>/admin/statistics/collectd/system/<%=plugin%>"><%=desc%></a></li>
                        <% end %>
                <% end %>