Skip to content

Commit

Permalink
changed pihole url from ip to pi.hole
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan committed Nov 12, 2019
1 parent e327b31 commit cca5f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.sh
Expand Up @@ -168,7 +168,7 @@ for i in $(seq 1 20); do
echo -e -n " ${GREEN}OK${BLANK}"
HOST_IP=$(grep 'ServerIP' pihole-docker/configs/server.conf | sed 's/ServerIP=//')
if [ "$(docker logs pihole 2> /dev/null | grep -c 'Setting password:')" -gt 0 ]; then
echo -e "\n${CYAN}INFO${BLANK}: $(docker logs pihole 2> /dev/null | grep 'Setting password:') for your pi-hole: https://${HOST_IP}/admin/."
echo -e "\n${CYAN}INFO${BLANK}: $(docker logs pihole 2> /dev/null | grep 'Setting password:') for your pi-hole: https://pi.hole/admin/."
RAN_PW='y'
else
echo -e "\n${CYAN}INFO${BLANK}: Set given WEBPASSWORD for your pi-hole: https://${HOST_IP}/admin/."
Expand Down

0 comments on commit cca5f92

Please sign in to comment.