@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user