udpxy.lua 357 B

1234567891011121314
  1. -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.udpxy", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/udpxy") then
  6. return
  7. end
  8. local page = entry({"admin", "services", "udpxy"}, cbi("udpxy"), _("udpxy"))
  9. page.dependent = true
  10. end