소스 검색

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 -e "${CM}${CL} \r"
 
 
 echo -en "${GN} Installing Pi-hole... "
 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"
 echo -e "${CM}${CL} \r"
 
 
 PASS=$(grep -w "root" /etc/shadow | cut -b6);
 PASS=$(grep -w "root" /etc/shadow | cut -b6);