Tyleo-Scripts/runner/run-pve-patch

11 lines
582 B
Text
Raw Permalink Normal View History

2024-02-18 18:06:30 +00:00
#!/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