From c9c76a136af2c7a1936655e667b9949862dc4842 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 26 Jan 2017 14:54:48 -0800 Subject: luci-app-vpnbypass: initial commit of companion app to vpnbypass package Signed-off-by: Stan Grishin --- .../root/etc/uci-defaults/40_luci-vpnbypass | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 applications/luci-app-vpnbypass/root/etc/uci-defaults/40_luci-vpnbypass (limited to 'applications/luci-app-vpnbypass/root/etc') 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 000000000..9455701a0 --- /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 + -- cgit v1.2.3