<%# LuCI - Lua Configuration Interface Copyright 2013 Nicolas Echaniz Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <%- local ntm = require "luci.model.network".init() local dev local devices = { } for _, dev in luci.util.vspairs(luci.sys.net.devices()) do if dev:match("^wlan%d") or dev:match("^ath%d") or dev:match("^wl%d") then devices[#devices+1] = dev end end local curdev = luci.dispatcher.context.requestpath curdev = curdev[#curdev] ~= "stations" and curdev[#curdev] or devices[1] -%> <%+header%>

<%:Stations%>

Polling delay: milliseconds

<%+footer%>