A live bird collage card for your Home Assistant dashboard.
adding debugging for testing
Patrick McGuire9c56da0dc4e4
diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.shindex b336f95d..59156864 100755--- a/Birders_Guide_Installer.sh+++ b/Birders_Guide_Installer.sh@@ -42,15 +42,6 @@ ExecStop=/sbin/swapoff /dev/zram0WantedBy=multi-user.targetEOFsudo systemctl enable zram- echo- echo "Installing stage 2 installation script now."- cd ~- curl -s -O "https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/${branch}/Birders_Guide_Installer.sh"- chmod +x Birders_Guide_Installer.sh- echo- echo "Stage 1 complete"- touch ${HOME}/stage_1_complete- echoecho "Rebooting the system in 5 seconds"sleep 5sudo reboot@@ -104,11 +95,13 @@ stage_2() {echo "Follow the instructions to fill out the LATITUDE and LONGITUDE variablesand set the passwords for the live audio stream. Save the file after editingand then close the Mouse Pad editing window to continue."+ set -xif [ -z $SSH_CONNECTION ];theneditor=mousepadelseeditor=nanofi+ echo $editor && exit$editor ${my_dir}/Birders_Guide_Installer_Configuration.txtwhile pgrep $editor &> /dev/null;dosleep 1