This commit is contained in:
CanbiZ 2025-11-17 11:20:48 +01:00
parent 432fc70e6e
commit fc59aaede6

View File

@ -1491,8 +1491,14 @@ advanced_settings() {
# diagnostics_check() # diagnostics_check()
# #
# - Ensures diagnostics config file exists at /usr/local/community-scripts/diagnostics # - Ensures diagnostics config file exists at /usr/local/community-scripts/diagnostics
<<<<<<< Updated upstream
# - Asks user whether to send anonymous diagnostic data # - Asks user whether to send anonymous diagnostic data
# - Saves DIAGNOSTICS=yes/no in the config file # - Saves DIAGNOSTICS=yes/no in the config file
=======
# - Creates file if missing with default DIAGNOSTICS=yes
# - Reads current diagnostics setting from file
# - Sets global DIAGNOSTICS variable for API telemetry opt-in/out
>>>>>>> Stashed changes
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
diagnostics_check() { diagnostics_check() {
if ! [ -d "/usr/local/community-scripts" ]; then if ! [ -d "/usr/local/community-scripts" ]; then