浏览代码

Update adguard-v5-install.sh

free port 53 without reboot
tteckster 2 年之前
父节点
当前提交
2c51908557
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/adguard-v5-install.sh

+ 1 - 1
install/adguard-v5-install.sh

@@ -89,9 +89,9 @@ $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
-#systemctl restart systemd-resolved
 wget -qL https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh
 $STD bash install.sh
 rm install.sh