From 0273034e2880a4bb715104f875659f75e7ec2e38 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 18 Jun 2023 07:35:55 -0400 Subject: [PATCH] Update pihole-install.sh distribution agnostic fixes https://github.com/tteck/Proxmox/issues/1505 --- install/pihole-install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install/pihole-install.sh b/install/pihole-install.sh index 9006ae2f..881cb233 100644 --- a/install/pihole-install.sh +++ b/install/pihole-install.sh @@ -22,9 +22,6 @@ $STD apt-get install -y ntp msg_ok "Installed Dependencies" msg_info "Installing Pi-hole" -systemctl stop systemd-resolved -echo "DNSStubListener=no" >>/etc/systemd/resolved.conf -ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf mkdir -p /etc/pihole/ cat </etc/pihole/setupVars.conf PIHOLE_INTERFACE=eth0 @@ -41,8 +38,8 @@ DNSMASQ_LISTENING=local WEBPASSWORD=$(openssl rand -base64 48) BLOCKING_ENABLED=true EOF - -$STD bash <(curl -fsSL https://install.pi-hole.net) /dev/stdin --unattended +# View script https://install.pi-hole.net +$STD bash <(curl -fsSL https://install.pi-hole.net) --unattended msg_ok "Installed Pi-hole" motd_ssh