summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/controller/shadowsocks-libev.lua
blob: ae968168f13585f4a963835bf48b22faefebd499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- 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