Drop default quality (#1227)

We calculate quality differently (ie. correctly) so drop the default
minimum to avoid too many nasty suprises.
This commit is contained in:
Tim Wilkinson 2024-05-29 16:44:00 -07:00 committed by GitHub
parent c0d38a4e89
commit 4717ab051c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -17,3 +17,10 @@ __EOF__
/sbin/uci -c $c commit aredn
fi
done
if [ "$(/sbin/uci -q get aredn.@lqm[0].min_quality)" = "50" ]; then
/sbin/uci -q set aredn.@lqm[0].min_quality=35
/sbin/uci -q -c /etc/config.mesh set aredn.@lqm[0].min_quality=35
/sbin/uci commit aredn
/sbin/uci -c /etc/config.mesh commit aredn
fi