From 0850f215c549c9fb9384023dcb43e253f33ff1d5 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 19 Oct 2025 00:00:00 +0200 Subject: [PATCH] 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 --- feeds/ucentral/ucentral-schema/files/etc/init.d/ucentral-gps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/ucentral/ucentral-schema/files/etc/init.d/ucentral-gps b/feeds/ucentral/ucentral-schema/files/etc/init.d/ucentral-gps index f80dd44bb..4fea4854b 100755 --- a/feeds/ucentral/ucentral-schema/files/etc/init.d/ucentral-gps +++ b/feeds/ucentral/ucentral-schema/files/etc/init.d/ucentral-gps @@ -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