summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpnbypass/root/etc
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-01-27 15:31:48 +0200
committerGitHub <noreply@github.com>2017-01-27 15:31:48 +0200
commit4e6010cd7301d4f91dc12e368eb5befb6155726b (patch)
tree9c7191476ab5a72155de3054d2c951191c7ec597 /applications/luci-app-vpnbypass/root/etc
parent16bbe45e95d89c61323f5a86401a8ed4287af030 (diff)
parentc9c76a136af2c7a1936655e667b9949862dc4842 (diff)
Merge pull request #977 from stangri/luci-app-vpnbypass
luci-app-vpnbypass: initial commit of companion app to vpnbypass package
Diffstat (limited to 'applications/luci-app-vpnbypass/root/etc')
-rw-r--r--applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass b/applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass
new file mode 100644
index 0000000000..9455701a09
--- /dev/null
+++ b/applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass
@@ -0,0 +1,11 @@
+#!/bin/sh
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@vpnbypass[-1]
+ add ucitrack vpnbypass
+ set ucitrack.@vpnbypass[-1].init=vpnbypass
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0
+