diff options
Diffstat (limited to 'applications/luci-app-vpnbypass/root/etc/uci-defaults')
-rw-r--r-- | applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass | 11 |
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 + |