Update config.yaml add set_wifi.sh

master-bl
Alan Johnston 1 week ago committed by GitHub
parent fc35d2fd1f
commit 537a0d6aaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.