From 383583d97c905dc456759248f7fc338a855c2d01 Mon Sep 17 00:00:00 2001 From: Ycarus Date: Fri, 1 Jun 2018 21:15:59 +0200 Subject: [PATCH] Fix --- luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun b/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun index e5c62a320..d2616d795 100644 --- a/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun +++ b/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun @@ -26,7 +26,7 @@ EOF # set network.glorytun.netmask=255.255.255.0 # set network.glorytun.gateway=10.0.0.1 -if [ "$(uci -q show firewall | grep vpn)" = "" ]; then +if [ "$(uci -q show firewall | grep redirect_vpn_to_lan)" = "" ]; then uci -q batch <<-EOF >/dev/null add firewall zone set firewall.@zone[-1].name=vpn