Skip to content

Instantly share code, notes, and snippets.

@iwconfig
Created May 6, 2025 20:52
Show Gist options
  • Save iwconfig/4b5add0568abcf05fb3204899fff1d28 to your computer and use it in GitHub Desktop.
Save iwconfig/4b5add0568abcf05fb3204899fff1d28 to your computer and use it in GitHub Desktop.
This removes the no-subscription reminder in Proxmox VE/BS, adapted from the helper-script. I ended up not needing it, so I'm dumping it here.
#!/bin/bash
echo "Supporting the software's development team is essential."
echo "Check their official website's Support Subscriptions for pricing."
echo "Without their dedicated work, we wouldn't have this exceptional software."
if ! dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; then
sed -i '/data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
echo "Disabled subscription nag. Please reload your browser cache."
fi
echo "Without their dedicated work, we wouldn't have this exceptional software."
echo "Without their dedicated work, we wouldn't have this exceptional software."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment