浏览代码

Update pihole-install.sh

tteckster 3 年之前
父节点
当前提交
00714d953b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      setup/pihole-install.sh

+ 2 - 1
setup/pihole-install.sh

@@ -57,7 +57,8 @@ apt-get -qqy install \
 echo -e "${CM}${CL} \r"
 
 echo -en "${GN} Installing Pi-hole... "
-curl -sSL https://install.pi-hole.net | bash --unattended
+#curl -sSL https://install.pi-hole.net | bash
+curl -L https://install.pi-hole.net | bash /dev/stdin --unattended
 echo -e "${CM}${CL} \r"
 
 PASS=$(grep -w "root" /etc/shadow | cut -b6);