config: BIRDNET_USER=$USER added

This commit is contained in:
frederik
2024-02-27 09:37:28 +01:00
parent 5a7b9a093c
commit 88d273f8fe
6 changed files with 32 additions and 9 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ while getopts "l:" o; do
done
shift $((OPTIND-1))
HOME=$(awk -F: '/1000/ {print $6}' /etc/passwd)
source /etc/birdnet/birdnet.conf
HOME=/home/${BIRDNET_USER}
label_file_name="labels_${lang}.txt"