fix
This commit is contained in:
parent
83655ecab7
commit
89fe602ac7
@ -69,16 +69,16 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "${YW}⚠️ pihole-exporter is not installed.${CL}"
|
echo -e "${YW}⚠️ pihole-exporter is not installed.${CL}"
|
||||||
echo -n "Enter URL of pihole, example: (http://127.0.0.1): "
|
echo -n "Enter the hostname of pihole, example: (127.0.0.1): "
|
||||||
read -rs pihole_HOSTNAME
|
read -er pihole_HOSTNAME
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
echo -n "Enter pihole password: "
|
echo -n "Enter pihole password: "
|
||||||
read -er pihole_PASSWORD
|
read -rs pihole_PASSWORD
|
||||||
echo .
|
echo .
|
||||||
|
|
||||||
echo -n "Do you want to skip TLS-Verification (if using a self-signed Certificate on Pi-Hole) [y/N]: "
|
echo -n "Do you want to skip TLS-Verification (if using a self-signed Certificate on Pi-Hole) [y/N]: "
|
||||||
read -rs pihole_SKIP_TLS
|
read -er pihole_SKIP_TLS
|
||||||
echo .
|
echo .
|
||||||
if ! [[ "${pihole_SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
|
if ! [[ "${pihole_SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
|
||||||
pihole_SKIP_TLS="true"
|
pihole_SKIP_TLS="true"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user