Revert "Revert "Reload BCM SDK kmods on syncd start to handle syncd restart issues (#12804)""
This reverts commit 7e910aecad
.
This commit is contained in:
parent
7c948a3b42
commit
7da66c2943
@ -28,6 +28,19 @@ function startplatform() {
|
||||
debug "Firmware update procedure ended"
|
||||
fi
|
||||
|
||||
if [[ x"$sonic_asic_platform" == x"broadcom" ]]; then
|
||||
if [[ x"$WARM_BOOT" != x"true" ]]; then
|
||||
is_bcm0=$(ls /sys/class/net | grep bcm0)
|
||||
if [[ "$is_bcm0" == "bcm0" ]]; then
|
||||
debug "stop SDK opennsl-modules ..."
|
||||
/etc/init.d/opennsl-modules stop
|
||||
debug "start SDK opennsl-modules ..."
|
||||
/etc/init.d/opennsl-modules start
|
||||
debug "started SDK opennsl-modules"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ x"$sonic_asic_platform" == x"barefoot" ]]; then
|
||||
is_usb0=$(ls /sys/class/net | grep usb0)
|
||||
if [[ "$is_usb0" == "usb0" ]]; then
|
||||
|
Reference in New Issue
Block a user