mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
pihole-exporter fix: unbound var (#10307)
This commit is contained in:
parent
978f2a36a5
commit
9613bf672a
2 changed files with 3 additions and 8 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue