2
0

radvd.lua 742 B

1234567891011121314151617
  1. -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.radvd", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/radvd") then
  6. return
  7. end
  8. entry({"admin", "network", "radvd"}, cbi("radvd"), _("Radvd"), 61)
  9. entry({"admin", "network", "radvd", "interface"}, cbi("radvd/interface"), nil).leaf = true
  10. entry({"admin", "network", "radvd", "prefix"}, cbi("radvd/prefix"), nil).leaf = true
  11. entry({"admin", "network", "radvd", "route"}, cbi("radvd/route"), nil).leaf = true
  12. entry({"admin", "network", "radvd", "rdnss"}, cbi("radvd/rdnss"), nil).leaf = true
  13. entry({"admin", "network", "radvd", "dnssl"}, cbi("radvd/dnssl"), nil).leaf = true
  14. end