From 74501038e42ba227899ed49596cc661345e93c67 Mon Sep 17 00:00:00 2001 From: Jian Chang Date: Fri, 3 Jul 2015 15:17:38 +0800 Subject: luci-app-shadowsocks-libev: add package This adds support for configuring shadowsocks-libev Signed-off-by: Jian Chang --- .../root/etc/uci-defaults/luci-shadowsocks-libev | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/luci-shadowsocks-libev (limited to 'applications/luci-app-shadowsocks-libev/root') diff --git a/applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/luci-shadowsocks-libev b/applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/luci-shadowsocks-libev new file mode 100644 index 000000000..6f30fa77b --- /dev/null +++ b/applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/luci-shadowsocks-libev @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@shadowsocks-libev[-1] + add ucitrack shadowsocks-libev + set ucitrack.@shadowsocks-libev[-1].init=shadowsocks-libev + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 -- cgit v1.2.3