summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua
blob: 0b74c41ec4848b0b9a5215999a2964514215f526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.

module("luci.controller.mini.network", package.seeall)

function index()
	entry({"mini", "network"}, alias("mini", "network", "index"), _("Network"), 20).index = true
	entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), _("General"), 1)
	entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), _("Wifi"), 10)
	entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), _("DHCP"), 20)
end