summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/root
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-07-04 21:20:00 +0200
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-07-04 21:20:00 +0200
commitcfd8ad89c4afb46b6dab2529341c49fd7c091e22 (patch)
treed105bd980b0f0959d5c6fc3fcac21d3ade1b9b13 /applications/luci-app-shadowsocks-libev/root
parent74b5c1bbc3c840abeeac66c398615621f6ad4247 (diff)
parent74501038e42ba227899ed49596cc661345e93c67 (diff)
Merge pull request #425 from aa65535/master
luci-app-shadowsocks-libev: add package
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/root')
-rw-r--r--applications/luci-app-shadowsocks-libev/root/etc/uci-defaults/luci-shadowsocks-libev11
1 files changed, 11 insertions, 0 deletions
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 0000000000..6f30fa77b7
--- /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