4
0

Add scripts

This commit is contained in:
2024-05-11 20:30:37 +02:00
commit f8e1b44a93
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/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