add comments
This commit is contained in:
parent
305f3022f3
commit
a335fc49b3
@ -387,8 +387,9 @@ function install_mod {
|
|||||||
# Insert UPS data collection before the disk info line
|
# Insert UPS data collection before the disk info line
|
||||||
sed -i "/my \$dinfo = df('\/', 1);/i\\
|
sed -i "/my \$dinfo = df('\/', 1);/i\\
|
||||||
\\
|
\\
|
||||||
\t# Collect UPS status information\\
|
# Collect UPS status information\\
|
||||||
\t\$res->{upsc} = \\\`$upsCmd\\\`;" "$NODES_PM_FILE"
|
\$res->{upsc} = \\\`$upsCmd\\\`;\\
|
||||||
|
" "$NODES_PM_FILE"
|
||||||
|
|
||||||
msg "UPS output added to \"$NODES_PM_FILE\"."
|
msg "UPS output added to \"$NODES_PM_FILE\"."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user