From a335fc49b37851b95deedc595628dcc05ca63b88 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sat, 6 Sep 2025 12:40:24 +0200 Subject: [PATCH] add comments --- pve-mod-gui-sensors.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index 0fba487..703f7ec 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -387,8 +387,9 @@ function install_mod { # Insert UPS data collection before the disk info line sed -i "/my \$dinfo = df('\/', 1);/i\\ \\ - \t# Collect UPS status information\\ - \t\$res->{upsc} = \\\`$upsCmd\\\`;" "$NODES_PM_FILE" + # Collect UPS status information\\ + \$res->{upsc} = \\\`$upsCmd\\\`;\\ + " "$NODES_PM_FILE" msg "UPS output added to \"$NODES_PM_FILE\"." fi