From c57d384ca63cf33444d4fb1658fa362ad93186f8 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Thu, 9 Jun 2022 15:57:06 -0700 Subject: [PATCH] LQM on by default --- files/etc/config.mesh/aredn | 2 +- files/etc/uci-defaults/80_aredn_lqm | 2 +- files/www/cgi-bin/advancedconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/etc/config.mesh/aredn b/files/etc/config.mesh/aredn index 2cac1254..679bd5d2 100644 --- a/files/etc/config.mesh/aredn +++ b/files/etc/config.mesh/aredn @@ -24,7 +24,7 @@ config tunnel option maxservers '10' config lqm - option enable '0' + option enable '1' option min_snr '15' option margin_snr '1' option min_distance '0' diff --git a/files/etc/uci-defaults/80_aredn_lqm b/files/etc/uci-defaults/80_aredn_lqm index 30a13ff1..c65e6892 100755 --- a/files/etc/uci-defaults/80_aredn_lqm +++ b/files/etc/uci-defaults/80_aredn_lqm @@ -4,7 +4,7 @@ do if [ "$(/sbin/uci -c $c -q get aredn.@lqm[0].enable)" = "" ]; then /sbin/uci -c $c -m import aredn <<__EOF__ config lqm - option enable '0' + option enable '1' option min_snr '15' option margin_snr '1' option min_distance '0' diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index dd51d7c5..5827d58d 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -292,7 +292,7 @@ local settings = { key = "aredn.@lqm[0].enable", type = "boolean", desc = "Enable experimental link quality management", - default = "0", + default = "1", postcallback = "lqm_defaults()", needreboot = true },