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 |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 10 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Michael Tritz | b02d19f | 2017-05-10 15:48:19 -0500 | [diff] [blame] | 11 | ConditionPathExists=/var/lib/obmc/cfam_overrides |
Michael Tritz | 330f996 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 12 | |
| 13 | [Service] |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 14 | ExecStart=/usr/bin/env openpower-proc-control CFAMOverride |
| 15 | SyslogIdentifier=openpower-proc-control |
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 |