1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Remove comp-lzo

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-13 19:20:12 +01:00
parent 85f285a6e2
commit 34b085ca29

View file

@ -37,17 +37,16 @@ if [ "$(uci -q get openvpn.omr.proto)" != "tcp-client" ]; then
set openvpn.omr.client=1
set openvpn.omr.tls_client=1
set openvpn.omr.allow_recursive_routing=1
set openvpn.omr.comp_lzo=adaptive
set openvpn.omr.sndbuf=0
set openvpn.omr.rcvbuf=0
commit openvpn
EOF
fi
if [ "$(uci -q get openvpn.omr.com_lzo)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set openvpn.omr.comp_lzo=adaptive
EOF
fi
#if [ "$(uci -q get openvpn.omr.com_lzo)" = "" ]; then
# uci -q batch <<-EOF >/dev/null
# set openvpn.omr.comp_lzo=adaptive
# EOF
#fi
if [ "$(uci -q get ipsec.ipsec.password)" = "myvpn" ]; then
uci -q batch <<-EOF >/dev/null
set ipsec.ipsec.enabled='0'