diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync')
-rw-r--r-- | meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync/power-supply-sync.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync/power-supply-sync.service b/meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync/power-supply-sync.service new file mode 100644 index 000000000..9e342367b --- /dev/null +++ b/meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync/power-supply-sync.service @@ -0,0 +1,14 @@ +[Unit] +Description=Power Supply Input History SYNC +Wants=obmc-power-start-pre@0.target +After=obmc-power-start-pre@0.target +Wants=obmc-chassis-poweron@0.target +Before=obmc-chassis-poweron@0.target +ConditionPathExists=!/run/openbmc/chassis@0-on + +[Service] +ExecStart=/usr/bin/env phosphor-gpio-util --gpio=105 --path=/dev/gpiochip0 --delay=5 --action=low_high +SyslogIdentifier=power-supply-sync + +[Install] +RequiredBy=obmc-chassis-poweron@0.target |