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,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