[Mellanox]Update the hw-mgmt patch for simx on V.7.0000.2308 (#3957)

* [Mellanox/hw-mgmt] Update the hw-mgmt patch for simx on V.7.0000.2308

* removing the extra "[PATCH]"
This commit is contained in:
Stephen Sun 2020-01-07 16:42:00 +08:00 committed by liat-grozovik
parent df04809cb8
commit 04b9113410

View File

@ -1,18 +1,18 @@
From 051938b7c49cc18aaddd699939353f591554d635 Mon Sep 17 00:00:00 2001
From: Mykola Faryma <mykolaf@mellanox.com>
Date: Wed, 3 Apr 2019 14:09:26 +0000
From c6ee8c86c35f8b1e60bf4df0d7198f349f8552c1 Mon Sep 17 00:00:00 2001
From: Stephen Sun <stephens@mellanox.com>
Date: Wed, 25 Dec 2019 19:33:17 +0800
Subject: [PATCH] Make hw-mgmt SimX compatiable.
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
Signed-off-by: Stephen Sun <stephens@mellanox.com>
---
usr/usr/bin/hw-management.sh | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh
index fdb3013..68da9bc 100755
index cff10fe..0511c7c 100755
--- a/usr/usr/bin/hw-management.sh
+++ b/usr/usr/bin/hw-management.sh
@@ -646,6 +646,35 @@ do_chip_down()
@@ -737,6 +737,35 @@ do_chip_down()
/usr/bin/hw-management-thermal-events.sh change hotplug_asic down %S %p
}
@ -47,7 +47,7 @@ index fdb3013..68da9bc 100755
+
case $ACTION in
start)
do_start
if [ -d /var/run/hw-management ]; then
--
1.9.1