Added PiHoleCT

This commit is contained in:
2021-09-21 18:32:08 +00:00
parent c536ad9487
commit 155467454f
6 changed files with 65 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
WEBPASSWORD=
QUERY_LOGGING=true
INSTALL_WEB=true
DNSMASQ_LISTENING=single
PIHOLE_DNS_1=192.168.2.1
PIHOLE_DNS_2=192.168.2.1
TEMPERATUREUNIT=C

View File

@@ -0,0 +1,5 @@
#!/bin/bash
#Finialize instaltation
/etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended
#Set password
pihole -a -p

View File

@@ -0,0 +1,6 @@
#!/bin/sh
mkdir -p /etc/pihole
mv /opt/Setup/Configs/setupVars.conf /etc/pihole/setupVars.conf
echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
ln -s /etc/systemd/system/pihole-FTL.service /etc/systemd/system/multi-user.target.wants/pihole-FTL.service
curl -sSL https://install.pi-hole.net | curl -L https://install.pi-hole.net | bash /dev/stdin --unattended