1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-16 04:04:10 +02:00
gluon-packages/luci/config-mode/files/usr/lib/lua/luci/controller/ffhl/index.lua

16 lines
336 B
Lua
Raw Normal View History

2012-05-22 19:28:02 +02:00
module("luci.controller.ffhl.index", package.seeall)
2012-05-22 19:28:02 +02:00
function index()
local uci_state = luci.model.uci.cursor_state()
2012-05-22 19:28:02 +02:00
if uci_state:get_first("ffhl", "wizard", "running", "0") == "1" then
local root = node()
if not root.target then
root.target = alias("wizard", "welcome")
root.index = true
end
end
2012-05-22 19:28:02 +02:00
end