2 LuCI - Lua Development Framework
4 Copyright 2009 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 module "luci.controller.niu.network"
19 entry({"niu", "network"}, alias("admin", "network"), "Network")
20 .dbtemplate = "niu/network"
22 entry({"niu", "network", "lan"},
23 cbi("niu/network/lan", {on_success_to={"niu"}}), "Configure LAN")
25 entry({"niu", "network", "wan"},
26 cbi("niu/network/wan", {on_success_to={"niu"}}), "Configure Internet")