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,10 @@
{
"forceLEDs":[
"virtual_enc_fault",
"virtual_enc_id"
],
"skipLEDs":[
"virtual_enc_fault",
"virtual_enc_id"
]
}
@@ -0,0 +1,7 @@
[Unit]
Description=Create the virtual physical LEDs
[Service]
Restart=always
ExecStart=/usr/libexec/phosphor-led-sysfs/phosphor-ledcontroller -p %f
SyslogIdentifier=obmc-led-create-virtual-leds
@@ -0,0 +1,13 @@
[Unit]
Description=Set the Asserted property of all the LED groups to %i
Wants=xyz.openbmc_project.LED.GroupManager.service
After=xyz.openbmc_project.LED.GroupManager.service
After=phosphor-reset-chassis-running@0.service
ConditionPathExists=!/run/openbmc/chassis@0-on
[Service]
Type=oneshot
Restart=no
EnvironmentFile={envfiledir}/obmc/led/set-all/groups/config
ExecStart=/bin/bash -c "led-set-all-groups-asserted.sh %i ${{EXCLUDED_GROUPS}}"
SyslogIdentifier=obmc-led-set-all-groups-asserted
@@ -0,0 +1 @@
EXCLUDED_GROUPS=bmc_booted power_on