mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 21:30:41 +00:00
fix: pihole-exporter: unknown function (#10249)
This commit is contained in:
@@ -24,7 +24,7 @@ INSTALL_PATH="/opt/pihole-exporter"
|
|||||||
CONFIG_PATH="/opt/pihole-exporter.env"
|
CONFIG_PATH="/opt/pihole-exporter.env"
|
||||||
header_info
|
header_info
|
||||||
ensure_usr_local_bin_persist
|
ensure_usr_local_bin_persist
|
||||||
get_current_ip &>/dev/null
|
import_local_ip
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# OS DETECTION
|
# OS DETECTION
|
||||||
@@ -195,7 +195,7 @@ UPDATEEOF
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
header_info
|
header_info
|
||||||
ensure_usr_local_bin_persist
|
ensure_usr_local_bin_persist
|
||||||
get_current_ip &>/dev/null
|
import_local_ip
|
||||||
|
|
||||||
# Handle type=update (called from update script)
|
# Handle type=update (called from update script)
|
||||||
if [[ "${type:-}" == "update" ]]; then
|
if [[ "${type:-}" == "update" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user