From 02d23b046d301b6931920147e145c4e749356988 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 23 Apr 2021 22:24:56 +0200 Subject: [PATCH] Fix update for glorytun --- openmptcprouter/files/etc/uci-defaults/2020-omr-vpn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn b/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn index bb4dbf559..d1f5d8b86 100755 --- a/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn +++ b/openmptcprouter/files/etc/uci-defaults/2020-omr-vpn @@ -137,7 +137,7 @@ if [ "$(uci -q get glorytun-udp.vpn.key)" = "" ] && [ "$(uci -q get glorytun.vpn set glorytun-udp.vpn.key=$(uci -q get glorytun.vpn.key) set glorytun-udp.vpn.host=$(uci -q get glorytun.vpn.host) EOF - if [ "$(uci -q get glorytun-udp.vpn.proto)" = "udp" ]; then + if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then uci -q batch <<-EOF >/dev/null set glorytun-udp.vpn.enable=1 set glorytun.vpn.enable=0