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,5 @@
#!/bin/bash
# Usage of this utility
echo "Trigger soft off the host."
/usr/sbin/ampere_power_util.sh mb soft_off
exit $?;
@@ -0,0 +1,13 @@
[Unit]
Description=Ampere Soft power off of the host
Wants=obmc-host-stop-pre@0.target
Before=obmc-host-stop-pre@0.target
Conflicts=obmc-host-start@0.target
ConditionPathExists=!/run/openbmc/host@0-request
ConditionPathExists=!/lib/systemd/system/pldmSoftPowerOff.service
[Service]
Restart=no
ExecStart=/usr/bin/phosphor-softpoweroff
SyslogIdentifier=phosphor-softpoweroff
Type=oneshot