19b2b44638
Add a systemd dependency to make platform-modules service as a prerequisite for determine-reboot-cause service to ensure platform initialization is complete before determine-reboot-cause.service executes.
15 lines
344 B
Desktop File
15 lines
344 B
Desktop File
[Unit]
|
|
Description=Dell S6100 Platform modules
|
|
Before=pmon.service determine-reboot-cause.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
|