network.lua 603 B

123456789101112
  1. -- Copyright 2008 Steven Barth <steven@midlink.org>
  2. -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
  3. -- Licensed to the public under the Apache License 2.0.
  4. module("luci.controller.mini.network", package.seeall)
  5. function index()
  6. entry({"mini", "network"}, alias("mini", "network", "index"), _("Network"), 20).index = true
  7. entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), _("General"), 1)
  8. entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), _("Wireless"), 10)
  9. entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), _("DHCP"), 20)
  10. end