We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc82709 commit c508b63Copy full SHA for c508b63
files/scripts/syncd.sh
@@ -155,16 +155,11 @@ stop() {
155
156
# platform specific tasks
157
158
- # stop mellanox driver regardless of
159
- # shutdown type
160
- if [ x$sonic_asic_platform == x'mellanox' ]; then
161
- /etc/init.d/sxdkernel stop
162
- /usr/bin/mst stop
163
- fi
164
-
165
166
if [[ x"$WARM_BOOT" != x"true" ]]; then
167
- if [ x$sonic_asic_platform == x'cavium' ]; then
+ if [ x$sonic_asic_platform == x'mellanox' ]; then
+ /etc/init.d/sxdkernel stop
+ /usr/bin/mst stop
+ elif [ x$sonic_asic_platform == x'cavium' ]; then
168
/etc/init.d/xpnet.sh stop
169
/etc/init.d/xpnet.sh start
170
fi
0 commit comments