shadowsocks-libev.lua 386 B

123456789101112
  1. -- Copyright 2015 Jian Chang <aa65535@live.com>
  2. -- Licensed to the public under the Apache License 2.0.
  3. module("luci.controller.shadowsocks-libev", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/shadowsocks-libev") then
  6. return
  7. end
  8. entry({"admin", "services", "shadowsocks-libev"}, cbi("shadowsocks-libev"), _("ShadowSocks-libev"), 74).dependent = true
  9. end