Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,16 @@
[Unit]
Description=NCPLite Host%i Off
Before=obmc-chassis-hard-poweroff@%i.target
Before=obmc-chassis-poweroff@%i.target
Conflicts=obmc-host-startmin@%i.target
OnFailure=obmc-chassis-poweroff@%i.target
OnFailureJobMode=flush
[Service]
Type=oneshot
ExecStart=@SBINDIR@/host-control gracefuloff
ExecStartPost=/bin/sh -c "busctl call xyz.openbmc_project.Logging.IPMI \
/xyz/openbmc_project/Logging/IPMI \
xyz.openbmc_project.Logging.IPMI IpmiSelAdd ssaybq \
'Power Button Pressed' '/xyz/openbmc_project/state/chassis0' \
3 0x00 0xff 0xff true 0x0020"