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

Disable tracebox check by default

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-04-13 09:29:33 +02:00
parent c7ed99483d
commit c142a07ffa

View file

@ -121,6 +121,13 @@ if [ "$(uci -q get openmptcprouter.settings.disableintfrename)" = "" ]; then
EOF
fi
if [ "$(uci -q get openmptcprouter.settings.tracebox)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set openmptcprouter.settings.tracebox='0'
commit openmptcprouter
EOF
fi
sed -i 's/net.ipv4.tcp_retries2=3$/net.ipv4.tcp_retries2=15/' /etc/sysctl.d/zzz_openmptcprouter.conf
exit 0