Blame SOURCES/os-startup-event.service

be00cd
[Unit]
be00cd
Description=Send OS startup event to BMC
be00cd
Documentation=man:bmc-device
be00cd
RefuseManualStart=true
be00cd
ConditionFileIsExecutable=/usr/sbin/bmc-device
be00cd
be00cd
[Service]
be00cd
Type=oneshot
be00cd
# IPMI v2.0 rev 1.1 Table 42-3.
be00cd
#    Base OS Boot/Installation Status: 0x1f; "C: boot completed": 0x01
be00cd
Environment="START_EVENT=0x41 0x04 0x1f 0x01 0x6f assertion 0x01 0x00 0x00"
be00cd
ExecStart=/usr/sbin/bmc-device --platform-event=${START_EVENT}
be00cd
be00cd
[Install]
be00cd
WantedBy=basic.target
be00cd
Also=os-shutdown-event.service