Skip to content

frontend: disable wifi-updater and let user know if wifi service is disabled#3046

Merged
patrickelectric merged 2 commits intobluerobotics:masterfrom
Williangalvani:disabled_wifi
Jan 10, 2025
Merged

frontend: disable wifi-updater and let user know if wifi service is disabled#3046
patrickelectric merged 2 commits intobluerobotics:masterfrom
Williangalvani:disabled_wifi

Conversation

@Williangalvani
Copy link
Member

makes it clear to the user when the service got disabled. Also points into the direction to enable it.
More than that, it stops trying to make a bunch of requests (wifi-updater) when the service is not even running.

BLUEOS_LOG_FOLDER_PATH="/var/logs/blueos"

# Replace spaces with commas in the disabled services list
BLUEOS_DISABLE_SERVICES=${BLUEOS_DISABLE_SERVICES// /,}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the replace is necessary here ? the list should be comma separated already

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because some people (@JoaoMario109 ) may be used to type the list with spaces after commas 🤷
this is just a very basic sanitization

@patrickelectric patrickelectric merged commit dfeeffc into bluerobotics:master Jan 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants