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

Fixes, low latency option and option to no add default gateway to internet

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-05 10:48:28 +02:00
parent d76151eef5
commit 7f8c070254
4 changed files with 51 additions and 2 deletions

View file

@ -95,4 +95,10 @@ if [ "$(uci -q get openmptcprouter.settings.status_getip_timeout)" = "" ]; then
commit openmptcprouter
EOF
fi
if [ "$(uci -q get openmptcprouter.settings.enable_nodelay)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set openmptcprouter.settings.enable_nodelay=1
commit openmptcprouter
EOF
fi
exit 0