Merge pull request #75 from mcguirepr89/v0.9

V0.9
This commit is contained in:
Patrick McGuire
2021-11-17 09:48:57 -05:00
committed by GitHub
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -51,4 +51,4 @@ fi
${birdnetpi_dir}/scripts/update_birdnet.sh
xdg-open http://birdnetpi.local
systemctl --user disable birdnet-pi-config-gui
systemctl --user disable birdnet-pi-welcome-wizard.service
+11 -2
View File
@@ -91,10 +91,19 @@ get_date_and_time() {
}
setup_wifi() {
zenity --title="Connect to WiFi" --window-icon=/usr/share/pixmaps/red-cardinal32.png --info --text="Use the Networking Icon in the top right corner of
sudo systemctl start dhcpcd
wifi_list=""
until [[ "${wifi_list}" == "Continue" ]];do
wifi_list="$(zenity --title="Connect to WiFi" --extra-button="Refresh WiFi List" --window-icon=/usr/share/pixmaps/red-cardinal32.png --info --text="Use the Networking Icon in the bottom right corner of
the screen to select your WiFi network. Enter the credentials to connect when prompted.
Press \"Continue\" after you have connected." --ok-label="Continue" --no-wrap
Press \"Continue\" AFTER you have connected." --ok-label="Continue" --no-wrap)"
[ -z ${wifi_list} ] && break
if [[ "${wifi_list}" == "Refresh WiFi List" ]];then
sudo systemctl restart dhcpcd
fi
done
get_latitude
}