From 45cbf14df9a87d62f91fe509eb868ca06276bab4 Mon Sep 17 00:00:00 2001 From: dbarashinvd <105214075+dbarashinvd@users.noreply.github.com> Date: Sun, 19 Nov 2023 10:54:36 +0200 Subject: [PATCH] Add if statement for module control mode support (#1305) * add if statement for independent module mode support * change profile file name --- syncd/scripts/syncd_init_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syncd/scripts/syncd_init_common.sh b/syncd/scripts/syncd_init_common.sh index 214d3b125..baad55198 100644 --- a/syncd/scripts/syncd_init_common.sh +++ b/syncd/scripts/syncd_init_common.sh @@ -233,6 +233,11 @@ config_syncd_mlnx() if [[ -f /tmp/sai_extra.profile ]]; then cat /tmp/sai_extra.profile >> /tmp/sai.profile fi + + if [[ -f /$HWSKU_DIR/module_control_support.profile ]]; then + cat /$HWSKU_DIR/module_control_support.profile >> /tmp/sai.profile + fi + } config_syncd_centec()