CT Pihole: Update install methode for PiHoleV6
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
mkdir -p /etc/pihole
|
||||
mv /opt/Setup/Configs/setupVars.conf /etc/pihole/setupVars.conf
|
||||
mv /opt/Setup/Configs/lighthttpd-redirect.conf /etc/lighttpd/conf-available/14-root-redirect.conf
|
||||
ln -s ../conf-available/14-root-redirect.conf /etc/lighttpd/conf-enabled/14-root-redirect.conf
|
||||
mv /opt/Setup/Configs/pihole.toml /etc/pihole/pihole.toml
|
||||
|
||||
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 | bash /dev/stdin --unattended || true
|
||||
curl -sSL https://install.pi-hole.net | bash /dev/stdin --unattended || true
|
||||
|
||||
rm -rf /opt/Setup/Configs
|
||||
Reference in New Issue
Block a user