From 722b13288e2c4c0894f3f6ca89d0e1fc962eba0f Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Wed, 6 Nov 2024 14:55:01 -0800 Subject: [PATCH] Fix bug in first install/boot (#1677) --- files/usr/local/bin/aredn_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/aredn_init b/files/usr/local/bin/aredn_init index 7f1fca4d..79851545 100755 --- a/files/usr/local/bin/aredn_init +++ b/files/usr/local/bin/aredn_init @@ -162,7 +162,7 @@ do end -- Override with the current config -local all = uci.cursor("/etc/config.mesh"):get_all("setup", "globals") +local all = uci.cursor("/etc/config.mesh"):get_all("setup", "globals") or {} for k, v in pairs(all) do if not k:match("^%.") then