Clone
 

vy <vduong@sunriselabs.com> in ui.scripts

DEN-16219: Fixed - Denali user will have ONLY list ability (LS) to the folder and files in /var/configurations/CloudSync/*

Replace the existing chmod command in the lockdown script with

- find directories and give only read access

- find all files and remove read, write, and execute permissions

DEN-16122: Updated - UI: Unable to Perform Factory Reset Due to Device Error

Update to include removing the treatment logs in /var/configurations

Changed remove command to piping to rm command instead of using find's -exec

DEN-16122: Updated - UI: Unable to Perform Factory Reset Due to Device Error

Remove sudo of the cp command

DEN-16122: Updated - UI: Unable to Perform Factory Reset Due to Device Error

Corrected the settings file update

Added sudo to the copy of the default settings file command

DEN-16122: Fixed - UI: Unable to Perform Factory Reset Due to Device Error

Update decommission.sh script to call wifi disconnect script and bt clear scripts

DEN-16122: Fixed - UI: Unable to Perform Factory Reset Due to Device Error

update factory_reset.sh script to call wifi disconnect script and bt clear scripts

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Modified to not include System.conf and include *.dflt files

Add error handling and additional comments to clarify intent

    • -8
    • +24
    /scripts/generate_config_files_sha.sh
DEN-15815: Updated - UI: Factory reset and decommission, delete log files

Apply same log deletion code to the Factory reset script

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Remove the check script and move check to the globals.sh script

update the generate settings crc script to accomodate path differences

DEN-15815: Updated - UI: Factory reset and decommission, delete log files

Modified the delete logs to only delete and count logs not dated for current day

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Modify to handle the slash included in the path case

DEN-15487: Updated - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Updated the generate script to replace the base path in the sha file

DEN-15487: Added - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

Add scripts for generating and checking the SHA of settings conf files

    • -0
    • +45
    /scripts/check_config_files_sha.sh
    • -0
    • +45
    /scripts/generate_config_files_sha.sh