4
0
proxmox-scripts/config/remove_subscription_warning.sh
2024-05-11 20:30:37 +02:00

7 lines
245 B
Bash

#!/bin/bash
# Create backup and remove subscription warning from js file
sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
systemctl restart pveproxy.service