Alexandre
2024-10-27 21:07:54 +01:00
committed by GitHub
parent 19269c08c6
commit 35d8ee4c0a

View File

@@ -45,6 +45,9 @@ RUN \
curl -f -L -s -S https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /bin/systemctl && \
chmod a+x /bin/systemctl && \
\
# Correct for datetimectl
sed -i '/CURRENT_TIMEZONE/s/$/ || true/' "$HOME/BirdNET-Pi/scripts/install_birdnet.sh" && \
\
# Change user to pi and create /home/pi
echo "setting users" && \
if id abc >/dev/null 2>&1; then groupmod -o -g 101 abc && usermod -o -u 101 abc; fi && \