diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 706f53d9..7d44d328 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -276,6 +276,21 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Update CubeSatSim Software" + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update + icon: ⏳ + onclick: execution-dialog + timeout: 600 + + - title: "Update Software CubeSatSim to Branch" + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update {branch} + icon: ⏳ + onclick: execution-dialog + timeout: 600 + arguments: + - name: branch + type: ascii_sentence + - title: "Restart CubeSatSim" shell: echo "Restarting CubeSatSim now!" && sudo reboot now icon: restart @@ -527,15 +542,14 @@ dashboards: - title: "Display Payload Sensor Data" - title: "Display Voltage and Current Data" - - title: Restart and Shutdown + - title: Utilitites contents: + - title: "Update CubeSatSim Software" + - title: "Update CubeSatSim Software to Branch" - title: "Restart CubeSatSim" - title: "Shutdown CubeSatSim" - title: "Restart CubeSatSim Software" - title: "Clear Logs and Restart" - - - title: Network Utilities - contents: - title: "Connect to WiFi using SSID and Password" - title: "Change Hostname and Restart" - title: "Show Network Configuration"