This commit is contained in:
CrazyWolf13 2025-12-08 14:53:13 +01:00
parent 89fe602ac7
commit acf9213e66
2 changed files with 8 additions and 8 deletions

View File

@ -71,22 +71,22 @@ fi
echo -e "${YW}⚠️ pihole-exporter is not installed.${CL}"
echo -n "Enter the hostname of pihole, example: (127.0.0.1): "
read -er pihole_HOSTNAME
echo .
echo
echo -n "Enter 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]: "
read -er pihole_SKIP_TLS
echo .
echo
if ! [[ "${pihole_SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then
pihole_SKIP_TLS="true"
fi
echo -n "Install qbittorrent-exporter? (y/n): "
read -r install_prompt
echo .
echo
if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}"
exit 0

View File

@ -71,19 +71,19 @@ fi
echo -e "${YW}⚠️ qbittorrent-exporter is not installed.${CL}"
echo -n "Enter URL of qbittorrent, example: (http://127.0.0.1:8080): "
read -er QBITTORRENT_BASE_URL
echo .
echo
echo -n "Enter qbittorrent username: "
read -er QBITTORRENT_USERNAME
echo .
echo
echo -n "Enter qbittorrent password: "
read -rs QBITTORRENT_PASSWORD
echo ""
echo
echo -n "Install qbittorrent-exporter? (y/n): "
read -r install_prompt
echo .
echo
if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}"
exit 0