fix
This commit is contained in:
parent
668df09450
commit
47a7b1ff39
@ -70,23 +70,23 @@ if [[ -d "$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 the hostname of Pihole, example: (127.0.0.1): ${CL}"
|
echo -n "Enter the hostname of Pihole, example: (127.0.0.1): "
|
||||||
read -er pihole_HOSTNAME
|
read -er pihole_HOSTNAME
|
||||||
|
|
||||||
echo -n "Enter the port of Pihole, default 443: ${CL}"
|
echo -n "Enter the port of Pihole, default 443: "
|
||||||
read -er pihole_PORT
|
read -er pihole_PORT
|
||||||
|
|
||||||
echo -n "Enter Pihole password: ${CL}"
|
echo -n "Enter Pihole password: "
|
||||||
read -rs 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]: ${CL}"
|
echo -n "Do you want to skip TLS-Verification (if using a self-signed Certificate on Pi-Hole) [y/N]: "
|
||||||
read -er SKIP_TLS
|
read -er SKIP_TLS
|
||||||
if [[ "${SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
|
if [[ "${SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
|
||||||
pihole_SKIP_TLS="true"
|
pihole_SKIP_TLS="true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Install qbittorrent-exporter? (y/n): ${CL}"
|
echo -n "Install qbittorrent-exporter? (y/n): "
|
||||||
read -r install_prompt
|
read -r install_prompt
|
||||||
if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
|
if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}"
|
echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user