11 lines
No EOL
582 B
Bash
Executable file
11 lines
No EOL
582 B
Bash
Executable file
#!/usr/bin/env bash
|
|
clear
|
|
echo ========================================================================
|
|
echo ============= Proxmox Sub Message Killer ==== Tyleo Script =============
|
|
echo ========================================================================
|
|
echo = Patching...
|
|
echo == Restarting PVE Proxy...
|
|
# Patch du fichier JS
|
|
sed -i.bak "s/.data.status.toLowerCase() !== 'active') {/.data.status.toLowerCase() !== 'active') { orig_cmd\(\); } else if ( false ) {/" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
|
# Restart PVE Web
|
|
systemctl restart pveproxy.service |