Skip to content

Commit

Permalink
Add if statement for module control mode support (sonic-net#1305)
Browse files Browse the repository at this point in the history
* add if statement for independent module mode support

* change profile file name
  • Loading branch information
dbarashinvd authored Nov 19, 2023
1 parent 92da5b3 commit 45cbf14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 45cbf14

Please sign in to comment.