fix
This commit is contained in:
parent
83655ecab7
commit
89fe602ac7
@ -69,16 +69,16 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
||||
fi
|
||||
|
||||
echo -e "${YW}⚠️ pihole-exporter is not installed.${CL}"
|
||||
echo -n "Enter URL of pihole, example: (http://127.0.0.1): "
|
||||
read -rs pihole_HOSTNAME
|
||||
echo -n "Enter the hostname of pihole, example: (127.0.0.1): "
|
||||
read -er pihole_HOSTNAME
|
||||
echo .
|
||||
|
||||
echo -n "Enter pihole password: "
|
||||
read -er pihole_PASSWORD
|
||||
read -rs pihole_PASSWORD
|
||||
echo .
|
||||
|
||||
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 .
|
||||
if ! [[ "${pihole_SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
|
||||
pihole_SKIP_TLS="true"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user