Skip to content

Commit 77a0bcb

Browse files
oleksandrivantsivShuotian Cheng
authored andcommitted
[mellanox]: Enable fast boot mode for SX kernel (#853)
1 parent 020e9f6 commit 77a0bcb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

files/build_templates/swss.service.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ExecStartPre=/usr/bin/docker exec database redis-cli -n 1 FLUSHDB
1818
ExecStartPre=/usr/bin/docker exec database redis-cli -n 2 FLUSHDB
1919

2020
{% if sonic_asic_platform == 'mellanox' %}
21+
Environment=FAST_BOOT=1
2122
ExecStartPre=/etc/init.d/sxdkernel start
2223
ExecStartPre=/usr/bin/mst start
2324
ExecStartPre=/sbin/modprobe i2c-dev

0 commit comments

Comments
 (0)