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

Detect and set best MTU, set some settings before status page

This commit is contained in:
Ycarus 2018-08-23 14:52:09 +02:00
parent 5cd9511df6
commit 910c6f5ee9
7 changed files with 88 additions and 19 deletions

View file

@ -21,3 +21,9 @@ if [ "$(uci -q get qos.serverin.target)" = "" ]; then
commit qos
EOF
fi
if [ "$(uci -q ucitrack.@network[-1].affects | grep openmptcprouter)" = "" ]; then
uci -q batch <<-EOF
add_list ucitrack.@network[-1].affects="openmptcprouter"
commit ucitrack
EOF
fi