Skip to content

A live bird collage card for your Home Assistant dashboard.

replace default password with set password

Patrick McGuirebfdc46b74970
diff --git a/scripts/createdb.sh b/scripts/createdb.sh
index a1e9055b..b42b2698 100755
--- a/scripts/createdb.sh
+++ b/scripts/createdb.sh
@@ -39,4 +39,4 @@ GRANT ALL ON birds.* TO 'birder'@'localhost' IDENTIFIED BY '${DB_PWD}' WITH GRAN
exit
EOF
-
+sed -i "s/databasepassword/${DB_PWD}/g" /home/pi/Birding-Pi/analyze.py