1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix openvpn after update from old config

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-03-19 20:36:00 +01:00
parent ce61d74f8a
commit 52441f7f53

View file

@ -44,6 +44,9 @@ if [ "$(uci -q get openvpn.omr.proto)" != "tcp-client" ]; then
commit openvpn
EOF
fi
uci -q delete openvpn.omr.secret
#if [ "$(uci -q get openvpn.omr.com_lzo)" = "" ]; then
# uci -q batch <<-EOF >/dev/null
# set openvpn.omr.comp_lzo=adaptive