From 4e6c68f164df284a9789b4eb8f0f118ad994df6f Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Jun 2023 16:39:55 -0400 Subject: [PATCH] Update adguard-install.sh Code refactoring --- install/adguard-install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/install/adguard-install.sh b/install/adguard-install.sh index 124f2e68..eb262cf0 100644 --- a/install/adguard-install.sh +++ b/install/adguard-install.sh @@ -20,12 +20,7 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" msg_info "Installing AdGuard Home" -systemctl stop systemd-resolved -echo "DNSStubListener=no" >>/etc/systemd/resolved.conf -ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf -wget -qL https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh -$STD bash install.sh -rm install.sh +$STD bash <(curl -fsSL https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh) msg_ok "Installed AdGuard Home" motd_ssh