From e8efb9e4352221995cd26c792b6bbb0d346c1cd5 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 18 Dec 2025 17:18:09 +0100 Subject: [PATCH] Aktualisieren von qbittorrent-exporter.sh --- tools/addon/qbittorrent-exporter.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/addon/qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh index 8bb7b4e05..59790ec86 100644 --- a/tools/addon/qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -25,7 +25,6 @@ INSTALL_PATH="/opt/qbittorrent-exporter" CONFIG_PATH="/opt/qbittorrent-exporter.env" header_info ensure_usr_local_bin_persist -get_current_ip &>/dev/null # ============================================================================== # OS DETECTION @@ -180,7 +179,7 @@ UPDATEEOF echo "" msg_ok "qBittorrent-Exporter installed successfully" - msg_ok "Metrics: ${BL}http://${CURRENT_IP}:8090/metrics${CL}" + msg_ok "Metrics: ${BL}http://${LOCAL_IP}:8090/metrics${CL}" msg_ok "Config: ${BL}${CONFIG_PATH}${CL}" } @@ -189,7 +188,7 @@ UPDATEEOF # ============================================================================== header_info ensure_usr_local_bin_persist -get_current_ip &>/dev/null +import_local_ip # Handle type=update (called from update script) if [[ "${type:-}" == "update" ]]; then