meta-facebook: yosemite4: state: fix typo in comment and message
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Change-Id: Ia7aca39e7537d0780e59696a46c114cf3bc1c660
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/chassis-poweron b/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/chassis-poweron
index 4922c8a..8d47c77 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/chassis-poweron
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/chassis-poweron
@@ -37,10 +37,10 @@
then
if [ -n "$is_nuvoton_board" ]
then
- # inform management CPLD that the slot is 12V off
+ # inform management CPLD that the slot is 12V on
if ! gpio_set "$GPIOCHIP_IO_EXP_SLOT_12V_STATUS_CTRL" "$IO_EXP_SLOT_12V_STATUS"=1
then
- echo "Failed to inform management CPLD that slot$1 is 12V off"
+ echo "Failed to inform management CPLD that slot$1 is 12V on"
fi
fi
busctl set-property "$CHASSIS_BUS_NAME""$CHASSIS_ID" "$CHASSIS_OBJ_PATH""$CHASSIS_ID" "$CHASSIS_INTF_NAME" "$CHASSIS_PROPERTY_NAME" s "$CHASSIS_ON_PROPERTY"