ui.scripts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- Managed the Settings/System.conf owner

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-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- removed the Bluetooth config

- made scripts all executable.

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
Merge branch 'staging' into develop

Merge branch 'DEN-15810-UI-BN-S101-Cybersecurity-Unmount' into develop

Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into develop

Merge branch 'DEN-15810-UI-BN-S101-Cybersecurity-Unmount' into staging

DEN-15907: UI: Manufacturing setup has issue if the Yocto image is fresh

Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into staging

Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into develop

DEN-15859: UI: USB drive cannot be mounted or unmounted

    • -0
    • +29
    /scripts/usb_mount.sh
    • -0
    • +28
    /scripts/usb_unmount.sh
DEN-15403: UI: Cybersecurity: POST security check

- Ran the device setup multiple times and fixed some issues and put some additional security fix and features.

- Cleaned up the code a little bit more.

- The main task is to do it at POST.

Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into develop

Merge remote-tracking branch 'origin/DEN-15279-UI-BN-S97-Cybersecurity' into DEN-15279-UI-BN-S97-Cybersecurity

DEN-15441 , DEN-15442 : Factory Reset and Decommissioning

- There are still some todo.

Made changes to allow this script to be rerun.

Set the iptables rules / firewall.

Removed sudo for eval and added sudo's for the commands that it called. Fixed /etc/suders file.

Checked in changes for moving the apps tp their own user's directory.

    • -3
    • +3
    /scripts/wifi_generate_wpa_supplicant.sh
    • -2
    • +2
    /scripts/wifi_request_auto_assigned_ip.sh
  1. … 10 more files in changeset.
copy the staging, application/scripts

- This is copied from the develop branch of application repository.

- At this moment the develop branch includes the staging and Cybersecurity branch merged into it on top of the staging.

    • -0
    • +130
    /scripts/bluetooth_main.conf
    • -0
    • +39
    /scripts/bluetooth_paired_clear.sh
    • -0
    • +30
    /scripts/bluetooth_paired_query.sh
    • -0
    • +18
    /scripts/brightness_get.sh
    • -0
    • +26
    /scripts/brightness_set.sh
    • -0
    • +130
    /scripts/crypt_setup.sh
    • -0
    • +28
    /scripts/date_time_set.sh
    • -0
    • +111
    /scripts/decommission.sh
    • -0
    • +54
    /scripts/export_logs.sh
    • -0
    • +89
    /scripts/factory_reset.sh
    • -0
    • +461
    /scripts/globals.sh
    • -0
    • +109
    /scripts/lockdown.sh
    • -0
    • +25
    /scripts/rootsshaccess_get.sh
    • -0
    • +34
    /scripts/rootsshaccess_set.sh
  1. … 22 more files in changeset.
copy the Cybersecurity, application/scripts

- Created a branch on the staging for Cybersecurity the same name as the one currently on the application repository [DEN-15279-UI-BN-S97-Cybersecurity]

- Checking out to it

- Copied the application/scripts from the same Cybersecurity branch on the application repository [DEN-15279-UI-BN-S97-Cybersecurity].

- And doing the merge

    • -0
    • +130
    /scripts/crypt_setup.sh
    • -0
    • +111
    /scripts/decommission.sh
    • -0
    • +89
    /scripts/factory_reset.sh
    • -0
    • +109
    /scripts/lockdown.sh
    • -0
    • +25
    /scripts/rootsshaccess_get.sh
    • -0
    • +34
    /scripts/rootsshaccess_set.sh
copy the staging, application/scripts

    • -0
    • +130
    /scripts/bluetooth_main.conf
    • -0
    • +39
    /scripts/bluetooth_paired_clear.sh
    • -0
    • +30
    /scripts/bluetooth_paired_query.sh
    • -0
    • +18
    /scripts/brightness_get.sh
    • -0
    • +26
    /scripts/brightness_set.sh
    • -0
    • +28
    /scripts/date_time_set.sh
    • -0
    • +54
    /scripts/export_logs.sh
    • -0
    • +200
    /scripts/globals.sh
    • -0
    • +152
    /scripts/setup.sh
    • -0
    • +260
    /scripts/start.sh
    • -0
    • +35
    /scripts/wifi_disconnect_network.sh
    • -0
    • +57
    /scripts/wifi_generate_wpa_supplicant.sh
    • -0
    • +22
    /scripts/wifi_read_dns.sh
  1. … 16 more files in changeset.
More info in README.md