Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 10, 2025

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.

@@ -21,6 +21,9 @@ RUN_AS_REGULAR_USER="sudo -u blueos"
# Set BlueOS log folder
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