diff --git a/scripts/gobal/remove-banner-pve9.sh b/scripts/gobal/remove-banner-pve9.sh index a7f48a7..a1fb730 100644 --- a/scripts/gobal/remove-banner-pve9.sh +++ b/scripts/gobal/remove-banner-pve9.sh @@ -2,9 +2,18 @@ # ========================================================== # Remove Subscription Banner - Proxmox VE 9.x ONLY # ========================================================== -# This script is specifically designed for PVE 9.x -# DO NOT use on PVE 8.x - use remove-banner-pve8.sh instead -# ========================================================== +REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main" +BASE_DIR="/usr/local/share/proxmenux" +UTILS_FILE="$BASE_DIR/utils.sh" +VENV_PATH="/opt/googletrans-env" +TOOLS_JSON="/usr/local/share/proxmenux/installed_tools.json" + +if [[ -f "$UTILS_FILE" ]]; then + source "$UTILS_FILE" +fi + +load_language +initialize_cache remove_subscription_banner_pve9() { local JS_FILE="/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js"