diff --git a/tools/addon/pihole-exporter.sh b/tools/addon/pihole-exporter.sh index 8e1da979b..369efea56 100644 --- a/tools/addon/pihole-exporter.sh +++ b/tools/addon/pihole-exporter.sh @@ -12,8 +12,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Enable error handling set -Eeuo pipefail trap 'error_handler' ERR - load_functions + # ============================================================================== # CONFIGURATION # ============================================================================== @@ -22,9 +22,6 @@ APP="pihole-exporter" APP_TYPE="tools" INSTALL_PATH="/opt/pihole-exporter" CONFIG_PATH="/opt/pihole-exporter.env" -header_info -ensure_usr_local_bin_persist -import_local_ip # ============================================================================== # OS DETECTION @@ -186,7 +183,7 @@ UPDATEEOF echo "" msg_ok "Pihole-Exporter installed successfully" - msg_ok "Metrics: ${BL}http://${CURRENT_IP}:9617/metrics${CL}" + msg_ok "Metrics: ${BL}http://${LOCAL_IP}:9617/metrics${CL}" msg_ok "Config: ${BL}${CONFIG_PATH}${CL}" } diff --git a/tools/addon/qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh index c8a898d5a..8caef7671 100644 --- a/tools/addon/qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -12,8 +12,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV # Enable error handling set -Eeuo pipefail trap 'error_handler' ERR - load_functions + # ============================================================================== # CONFIGURATION # ============================================================================== @@ -22,8 +22,6 @@ APP="qbittorrent-exporter" APP_TYPE="tools" INSTALL_PATH="/opt/qbittorrent-exporter" CONFIG_PATH="/opt/qbittorrent-exporter.env" -header_info -ensure_usr_local_bin_persist # ============================================================================== # OS DETECTION