sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/s6100-platform-startup.service
Santhosh Kumar T 7a7c363548
[DellEMC] S6100 Platform Service optimization (#10989)
Why I did it
- To reduce rc.local script execution time.
- Time consumption of rc.local script is around 22 seconds in S6100.
How I did it
- Moving platform-modules-s6100.service and s6100-lpc-monitor.service asynchronous to rc.local script.
How to verify it
- Load the image with the changes and the time consumption of rc.local script reduced from 22 seconds(approx.) to 14 seconds(approx.) during warm-/fast-reboot upgrades.
- sonic-mgmt test results.
2022-06-23 12:58:11 -07:00

13 lines
332 B
Desktop File

[Unit]
Description=Dell S6100 Platform Startup Service
Before=pmon.service determine-reboot-cause.service pcie-check.service system-health.service watchdog-control.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/local/bin/s6100_platform_startup.sh init
RemainAfterExit=no
[Install]
WantedBy=multi-user.target