Browse Source

Update pihole-install.sh

tteckster 3 năm trước cách đây
mục cha
commit
00714d953b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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);