浏览代码

Update adguard-v5-install.sh

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

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

@@ -91,6 +91,7 @@ msg_ok "Installed Dependencies"
 msg_info "Installing AdGuard Home"
 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