ucentral-schema: fix ucentral-gps init script to prevent boot log spam

Add quiet flag to uci command to suppress error messages when GPS
configuration doesn't exist, preventing unnecessary log spam during
boot.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-10-19 00:00:00 +02:00
parent aed20d2516
commit 0850f215c5

View File

@@ -34,7 +34,7 @@ gps_disable() {
}
start() {
local disabled=$(uci get gps.@gps[-1].disabled)
local disabled=$(uci -q get gps.@gps[-1].disabled)
if [ "$disabled" -eq 1 ]; then
gps_disable
else