Files
OpenBMC/meta-hpe/meta-rl300-g11/recipes-hpe/power-supplies-monitoring/files/psus-manager.sh
T
2026-04-23 17:07:55 +08:00

8 lines
308 B
Bash

#!/bin/sh
# we need to restart FRU service and PSU Monitor everything else shall be ok
systemctl stop xyz.openbmc_project.psusensor.service
systemctl stop xyz.openbmc_project.GxpFruDevice.service
systemctl start xyz.openbmc_project.GxpFruDevice.service
systemctl start xyz.openbmc_project.psusensor.service