From 47a7b1ff39c81aa2dc1fdb8bba49f87ed0636795 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 8 Dec 2025 20:17:48 +0100 Subject: [PATCH] fix --- tools/addon/pihole-exporter.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/addon/pihole-exporter.sh b/tools/addon/pihole-exporter.sh index eaeba1d8d..29c98a0ad 100644 --- a/tools/addon/pihole-exporter.sh +++ b/tools/addon/pihole-exporter.sh @@ -70,23 +70,23 @@ if [[ -d "$INSTALL_PATH" ]]; then fi 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 -echo -n "Enter the port of Pihole, default 443: ${CL}" +echo -n "Enter the port of Pihole, default 443: " read -er pihole_PORT -echo -n "Enter Pihole password: ${CL}" +echo -n "Enter 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]: ${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 if [[ "${SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then pihole_SKIP_TLS="true" fi -echo -n "Install qbittorrent-exporter? (y/n): ${CL}" +echo -n "Install qbittorrent-exporter? (y/n): " read -r install_prompt if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}"