mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user