making changes to accomodate removing the pi user
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
# Writes variables to config file
|
||||
birdnetpi_dir=/home/pi/BirdNET-Pi
|
||||
birdnetpi_dir=$HOME/BirdNET-Pi
|
||||
birders_conf=${birdnetpi_dir}/Birders_Guide_Installer_Configuration.txt
|
||||
sed -i s/'^LATITUDE=$'/"LATITUDE=${new_lat}"/g ${birders_conf}
|
||||
sed -i s/'^LONGITUDE=$'/"LONGITUDE=${new_lon}"/g ${birders_conf}
|
||||
|
||||
Reference in New Issue
Block a user