Brandon Wyman | 03e5ffd | 2017-09-26 17:55:21 -0500 | [diff] [blame] | 1 | [Unit] |
Brandon Wyman | f0a24b8 | 2019-03-13 13:27:13 -0500 | [diff] [blame] | 2 | Description=Power Supply Input History SYNC |
Brandon Wyman | 03e5ffd | 2017-09-26 17:55:21 -0500 | [diff] [blame] | 3 | Wants=obmc-power-start-pre@0.target |
| 4 | After=obmc-power-start-pre@0.target |
| 5 | Wants=obmc-chassis-poweron@0.target |
| 6 | Before=obmc-chassis-poweron@0.target |
| 7 | ConditionPathExists=!/run/openbmc/chassis@0-on |
Matt Spinler | e99fc5b | 2023-08-15 10:43:20 -0500 | [diff] [blame] | 8 | Conflicts=obmc-chassis-poweroff@0.target |
Brandon Wyman | 03e5ffd | 2017-09-26 17:55:21 -0500 | [diff] [blame] | 9 | |
| 10 | [Service] |
Matt Spinler | e99fc5b | 2023-08-15 10:43:20 -0500 | [diff] [blame] | 11 | Type=oneshot |
| 12 | RemainAfterExit=yes |
| 13 | ExecStart=/usr/bin/gpioset -m time -u 5000 /dev/gpiochip0 105=0 |
| 14 | ExecStart=/usr/bin/gpioset /dev/gpiochip0 105=1 |
Brandon Wyman | 03e5ffd | 2017-09-26 17:55:21 -0500 | [diff] [blame] | 15 | |
| 16 | [Install] |
Andrew Geissler | 97445ad | 2023-05-09 11:19:11 -0500 | [diff] [blame] | 17 | #RequiredBy=obmc-chassis-poweron@0.target |