meta-quanta: gbs: rename fan2/3/4 to fb_fan0/1/2
Change the sensor name of fans:
fan2 -> fb_fan0
fan3 -> fb_fan1
fan4 -> fb_fan2
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I8350457985f757bf665f7c8d441ae3ddfe12e5fc
diff --git a/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/fan-table-init.sh b/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/fan-table-init.sh
index 06914af..5706a73 100644
--- a/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/fan-table-init.sh
+++ b/meta-gbs/recipes-phosphor/fans/phosphor-pid-control/fan-table-init.sh
@@ -3,9 +3,9 @@
# wait for fan dbus
mapper wait /xyz/openbmc_project/sensors/fan_tach/fan0
mapper wait /xyz/openbmc_project/sensors/fan_tach/fan1
-mapper wait /xyz/openbmc_project/sensors/fan_tach/fan2
-mapper wait /xyz/openbmc_project/sensors/fan_tach/fan3
-mapper wait /xyz/openbmc_project/sensors/fan_tach/fan4
+mapper wait /xyz/openbmc_project/sensors/fan_tach/fb_fan0
+mapper wait /xyz/openbmc_project/sensors/fan_tach/fb_fan1
+mapper wait /xyz/openbmc_project/sensors/fan_tach/fb_fan2
/usr/bin/fan-default-speed.sh