From 76b02916794be2e2558fcff1d11609a594f633d7 Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Fri, 14 Feb 2020 13:48:00 +0800 Subject: [PATCH] Disable thermal policy running in hw-mgmt service SONiC thermal control algorithm has been supported. Signed-off-by: Stephen Sun --- usr/usr/bin/hw-management.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/usr/bin/hw-management.sh b/usr/usr/bin/hw-management.sh index 2cdbfb2..48b41d5 100755 --- a/usr/usr/bin/hw-management.sh +++ b/usr/usr/bin/hw-management.sh @@ -799,7 +799,11 @@ do_start() #disabled for leopard chipless bringup. echo 1 > $config_path/suspend - $THERMAL_CONTROL $thermal_type $max_tachos $max_psus& +# +# Disable thermal control algorithm in hw-management service +# because there has already been that in SONiC +# +# $THERMAL_CONTROL $thermal_type $max_tachos $max_psus& } do_stop() -- 1.9.1