Skip to content

Commit

Permalink
Revert "Reload BCM SDK kmods on syncd start to handle syncd restart i…
Browse files Browse the repository at this point in the history
…ssues (#12804)"

This reverts commit 132c6e9.
  • Loading branch information
yxieca committed Dec 1, 2022
1 parent 60afb50 commit 7e910ae
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,6 @@ 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
Expand Down

0 comments on commit 7e910ae

Please sign in to comment.