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

Working MLVPN markfoodyburton version

This commit is contained in:
Ycarus 2018-07-01 20:02:25 +02:00
parent b901339cdf
commit 95385a77a7
3 changed files with 27 additions and 9 deletions

View file

@ -42,7 +42,8 @@ start_service() {
[ "${enable}" = "1" ] || return 1
if [ "$(uci -q get network.omrvpn)" != "" ]; then
uci -q set network.omrvpn.ifname=mlvpn0
uci -q set network.omrvpn.ifname=${interface_name}
uci -q commit
fi
cat > /tmp/etc/${interface_name}.conf <<-EOF
@ -51,6 +52,7 @@ start_service() {
mode = "${mode}"
interface_name = "${interface_name}"
timeout = ${timeout}
reorder_buffer = yes
reorder_buffer_size = ${reorder_buffer_size}
loss_tolerence = ${loss_tolerence}
password = "${password}"