mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 19:37:51 +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() {
|
start() {
|
||||||
local disabled=$(uci get gps.@gps[-1].disabled)
|
local disabled=$(uci -q get gps.@gps[-1].disabled)
|
||||||
if [ "$disabled" -eq 1 ]; then
|
if [ "$disabled" -eq 1 ]; then
|
||||||
gps_disable
|
gps_disable
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user