[broadcom]: fix delay to load led proc init (#1940)
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>
This commit is contained in:
parent
86205b858a
commit
ec8a7f5e54
@ -29,11 +29,13 @@ wait_syncd() {
|
|||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
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 this platform has an initialization file for the Broadcom LED microprocessor, load it
|
||||||
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
|
if [ -r ${PLATFORM_DIR}/led_proc_init.soc ]; then
|
||||||
wait_syncd
|
wait_syncd
|
||||||
sleep 60 # wait until bcm sdk is ready to get a request
|
|
||||||
supervisorctl start ledinit
|
supervisorctl start ledinit
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user