mirror of https://github.com/aredn/aredn.git
LQM on by default
This commit is contained in:
parent
fb2ec36bb6
commit
c57d384ca6
|
@ -24,7 +24,7 @@ config tunnel
|
||||||
option maxservers '10'
|
option maxservers '10'
|
||||||
|
|
||||||
config lqm
|
config lqm
|
||||||
option enable '0'
|
option enable '1'
|
||||||
option min_snr '15'
|
option min_snr '15'
|
||||||
option margin_snr '1'
|
option margin_snr '1'
|
||||||
option min_distance '0'
|
option min_distance '0'
|
||||||
|
|
|
@ -4,7 +4,7 @@ do
|
||||||
if [ "$(/sbin/uci -c $c -q get aredn.@lqm[0].enable)" = "" ]; then
|
if [ "$(/sbin/uci -c $c -q get aredn.@lqm[0].enable)" = "" ]; then
|
||||||
/sbin/uci -c $c -m import aredn <<__EOF__
|
/sbin/uci -c $c -m import aredn <<__EOF__
|
||||||
config lqm
|
config lqm
|
||||||
option enable '0'
|
option enable '1'
|
||||||
option min_snr '15'
|
option min_snr '15'
|
||||||
option margin_snr '1'
|
option margin_snr '1'
|
||||||
option min_distance '0'
|
option min_distance '0'
|
||||||
|
|
|
@ -292,7 +292,7 @@ local settings = {
|
||||||
key = "aredn.@lqm[0].enable",
|
key = "aredn.@lqm[0].enable",
|
||||||
type = "boolean",
|
type = "boolean",
|
||||||
desc = "Enable experimental link quality management",
|
desc = "Enable experimental link quality management",
|
||||||
default = "0",
|
default = "1",
|
||||||
postcallback = "lqm_defaults()",
|
postcallback = "lqm_defaults()",
|
||||||
needreboot = true
|
needreboot = true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue