Skip to content

Commit

Permalink
[mellanox|ffb] add comments for mellanox start/stop drivers section
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
  • Loading branch information
Stepan Blyschak committed Dec 20, 2018
1 parent f840692 commit e49be75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ start() {

# platform specific tasks

# start mellanox drivers regardless of
# boot type
if [ x"$sonic_asic_platform" == x"mellanox" ]; then
BOOT_TYPE=`getBootType`
if [[ x"$WARM_BOOT" == x"true" || x"$BOOT_TYPE" == x"fast" ]]; then
Expand Down Expand Up @@ -151,6 +153,8 @@ stop() {

# platform specific tasks

# stop mellanox driver regardless of
# shutdown type
if [ x$sonic_asic_platform == x'mellanox' ]; then
/etc/init.d/sxdkernel stop
/usr/bin/mst stop
Expand Down

0 comments on commit e49be75

Please sign in to comment.