From 988c7f251b25f4e2d01ee8c0f8fcdd663cb4954a Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Mon, 23 May 2022 05:44:37 -0700 Subject: [PATCH] Turn LQM off when not enabled!! (#369) --- files/usr/local/bin/mgr/lqm.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/usr/local/bin/mgr/lqm.lua b/files/usr/local/bin/mgr/lqm.lua index 9a11b2d1..764f32e6 100755 --- a/files/usr/local/bin/mgr/lqm.lua +++ b/files/usr/local/bin/mgr/lqm.lua @@ -154,6 +154,11 @@ local wlan = get_ifname("wifi") function lqm() + if cursor:get("aredn", "@lqm[0]", "enable") ~= "1" then + exit_app() + return + end + -- Let things startup for a while before we begin wait_for_ticks(math.max(1, 30 - nixio.sysinfo().uptime))