From 6e808ae35af06e69e102e6da8c3ec31debce404b Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Wed, 6 Aug 2025 14:32:14 +0200 Subject: [PATCH] Update remove-banner-pve8.sh --- scripts/gobal/remove-banner-pve8.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/gobal/remove-banner-pve8.sh b/scripts/gobal/remove-banner-pve8.sh index 31f4436..089b8e4 100644 --- a/scripts/gobal/remove-banner-pve8.sh +++ b/scripts/gobal/remove-banner-pve8.sh @@ -28,17 +28,11 @@ remove_subscription_banner_pve8() { return 1 fi - if ! whiptail --title "Proxmox Subscription Banner" \ - --yesno "Do you want to remove the Proxmox subscription banner from the web interface?" 10 60; then - msg_warn "Banner removal cancelled by user." - return 1 - fi for f in /etc/apt/apt.conf.d/*nag*; do [[ -e "$f" ]] && rm -f "$f" done - msg_info "Applying patches to remove subscription banner..." sed -i "s/res\.data\.status\.toLowerCase() !== 'NoMoreNagging'/false/g" "$JS_FILE" sed -i "s/res\.data\.status\.toLowerCase() !== \"NoMoreNagging\"/false/g" "$JS_FILE"