Skip to content

Commit

Permalink
[broadcom]: fix delay to load led proc init (#1940)
Browse files Browse the repository at this point in the history
led start bcm cmd triggers link state notifications.
This is quick fix to avoid such fake link state notifications.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan authored Aug 17, 2018
1 parent 86205b8 commit ec8a7f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/broadcom/docker-syncd-brcm/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ wait_syncd() {
fi
sleep 1
done

# wait until bcm sdk is ready to get a request
sleep 3
}

# If this platform has an initialization file for the Broadcom LED microprocessor, load it
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
wait_syncd
sleep 60 # wait until bcm sdk is ready to get a request
supervisorctl start ledinit
fi

0 comments on commit ec8a7f5

Please sign in to comment.