luci/applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua
Jian Chang 74501038e4 luci-app-shadowsocks-libev: add package
This adds support for configuring shadowsocks-libev

Signed-off-by: Jian Chang <aa65535@live.com>
2015-07-03 15:17:38 +08:00

12 lines
386 B
Lua

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