mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
parent
e61239f203
commit
d700848f06
2 changed files with 1 additions and 2 deletions
|
@ -55,7 +55,7 @@ _disable_openvpnbonding()
|
|||
{
|
||||
name=$1
|
||||
if [ "$(echo $name | grep omr_bonding)" != "" ]; then
|
||||
uci -q set openvpn.${name}.enabled='0'
|
||||
uci -q del openvpn.${name}.enabled
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
del network.omrvpn.bonding_policy
|
||||
del network.omrvpn.packets_per_slave
|
||||
|
|
|
@ -38,7 +38,6 @@ if [ "$(uci -q get openvpn.omr.proto)" != "tcp-client" ]; then
|
|||
set openvpn.omr.port=65301
|
||||
set openvpn.omr.cipher=AES-256-CBC
|
||||
set openvpn.omr.proto=tcp-client
|
||||
set openvpn.omr.enabled=0
|
||||
set openvpn.omr.ncp_disable=1
|
||||
set openvpn.omr.auth_nocache=1
|
||||
set openvpn.omr.client=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue