Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Applies user CFAM register overrides from file |
| 3 | Wants=obmc-host-start-pre@%i.target |
| 4 | Before=obmc-host-start-pre@%i.target |
| 5 | Wants=obmc-power-on@%i.target |
| 6 | After=obmc-power-on@%i.target |
Matt Spinler | d608220 | 2017-09-18 15:40:44 -0500 | [diff] [blame] | 7 | Wants=fsi-scan@%i.service |
| 8 | After=fsi-scan@%i.service |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 9 | Conflicts=obmc-chassis-poweroff@%i.target |
Andrew Geissler | 4e174d1 | 2020-02-26 14:11:53 -0600 | [diff] [blame] | 10 | Conflicts=obmc-host-stop@%i.target |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 11 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Michael Tritz | b02d19f | 2017-05-10 15:48:19 -0500 | [diff] [blame] | 12 | ConditionPathExists=/var/lib/obmc/cfam_overrides |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 13 | |
| 14 | [Service] |
Matt Spinler | 707c38c | 2022-04-07 16:23:47 -0500 | [diff] [blame^] | 15 | ExecStart=/usr/bin/openpower-proc-control CFAMOverride |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 16 | Type=oneshot |
| 17 | RemainAfterExit=yes |
| 18 | |
| 19 | [Install] |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 20 | WantedBy=obmc-chassis-poweron@%i.target |
Andrew Geissler | 4e174d1 | 2020-02-26 14:11:53 -0600 | [diff] [blame] | 21 | WantedBy=obmc-host-startmin@%i.target |