7a7c363548
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.
13 lines
332 B
Desktop File
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
|