sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6100/systemd/platform-modules-s6100.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

15 lines
410 B
Desktop File

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