From 537a0d6aaa6b56fd358938167c4d6827ecf70095 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 20 Sep 2026 16:01:39 -0400 Subject: [PATCH] Update config.yaml add set_wifi.sh --- OliveTin/config.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 8c01eea5..03125b9c 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -134,14 +134,17 @@ actions: - title: "Connect to WiFi using SSID and Password" icon: "🛜" # wireless - shell: echo "If this works, this web page won't work again until you connect to the new WiFi network!" && echo && sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" && sudo reboot now + exec: + - /home/pi/CubeSatSim/set_wifi.sh + - "{{ wifi_ssid }}" + - "{{ wifi_password }}" onclick: execution-dialog timeout: 10 arguments: - name: wifi_ssid type: ascii_sentence - name: wifi_password - type: ascii_sentence + type: password - title: "Change Hostname and Restart" icon: "🛜" # wireless