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] |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 15 | ExecStart=/usr/bin/env openpower-proc-control CFAMOverride |
| 16 | SyslogIdentifier=openpower-proc-control |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 17 | Type=oneshot |
| 18 | RemainAfterExit=yes |
| 19 | |
| 20 | [Install] |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 21 | WantedBy=obmc-chassis-poweron@%i.target |
Andrew Geissler | 4e174d1 | 2020-02-26 14:11:53 -0600 | [diff] [blame] | 22 | WantedBy=obmc-host-startmin@%i.target |