4
0

fix proxmox subscription warning

This commit is contained in:
Lyanis SOUIDI 2024-10-18 19:56:37 +02:00
parent 41aa4168af
commit 6e4a718f86

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Create backup and remove subscription warning from js file # 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 sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
systemctl restart pveproxy.service systemctl restart pveproxy.service