add comments

This commit is contained in:
Meliox 2025-09-06 12:40:24 +02:00
parent 305f3022f3
commit a335fc49b3

View File

@ -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