Skip to content

Commit

Permalink
Updated Cavium syncd config: hwsku and fast reboot. (sonic-net#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hnydyn Nazar authored and pavel-shirshov committed May 14, 2018
1 parent 39a5d14 commit 343744c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syncd/scripts/syncd_init_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,18 @@ config_syncd_centec()

config_syncd_cavium()
{
CMD_ARGS+=" -p /etc/ssw/AS7512/profile.ini"
CMD_ARGS+=" -p $HWSKU_DIR/sai.profile -d"

export XP_ROOT=/usr/bin/

# Wait until redis-server starts
until [ $(redis-cli ping | grep -c PONG) -gt 0 ]; do
sleep 1
done

if [ $FAST_REBOOT == "yes" ]; then
CMD_ARGS+=" -t fast"
fi
}

config_syncd_marvell()
Expand Down

0 comments on commit 343744c

Please sign in to comment.