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