Skip to content

Commit

Permalink
[mellanox]: Enable fast boot mode for SX kernel (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrivantsiv authored and Shuotian Cheng committed Jul 31, 2017
1 parent 020e9f6 commit 77a0bcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/build_templates/swss.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB

{% if sonic_asic_platform == 'mellanox' %}
Environment=FAST_BOOT=1
ExecStartPre=/etc/init.d/sxdkernel start
ExecStartPre=/usr/bin/mst start
ExecStartPre=/sbin/modprobe i2c-dev
Expand Down

0 comments on commit 77a0bcb

Please sign in to comment.