pi-hole - fix updates (#1759)

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2021-01-09 21:14:24 +01:00 committed by GitHub
parent 04f12588f5
commit f289f473d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,6 +230,7 @@ mapfile -t INSTALLED <<< "${INSTALLED[@]}"
cat << PIHOLE_UPDATE >> "$SCRIPTS/update.sh"
#Pi-hole-start - Please don't remove or change this line
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
check_command pihole -up
check_command sed -i 's|^server\.port.*|server\.port = 8093|' /etc/lighttpd/lighttpd.conf
sleep 5 # Wait for lighttpd