From 00bde7046aff873203a35080936050c6e6bafa97 Mon Sep 17 00:00:00 2001 From: Meliox Date: Mon, 24 Apr 2023 20:39:12 +0200 Subject: [PATCH] Add files via upload --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b8ca8ea --- /dev/null +++ b/readme.md @@ -0,0 +1,9 @@ +pve-mod-gui-temp + +This bash script installs a modification to the Proxmox Virtual Environment (PVE) web user interface (UI) to display temperature information. The modification includes three main steps: + +1. Create backups of the original files located at `/usr/share/pve-manager/js/pvemanagerlib.js` and `/usr/share/perl5/PVE/API2/Nodes.pm` in the `/root/backup` directory. +2. Add a new line to the `Nodes.pm` file that reads the thermal state information of the host using the `sensors` command. +3. Modify the `pvemanagerlib.js` file to expand the space in the StatusView and add a new item to the items array that displays the temperature information in Celsius for the CPU cores and the NVME drive. + +The script provides two options: `install` and `uninstall`. The `install` option installs the modification, while the `uninstall` option removes it by copying the backup files to their original location. The script also restarts the `pveproxy` service to apply the changes. \ No newline at end of file