SmartAudio/package/luci/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua

13 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