Michael Tritz | df9ebb8 | 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 |
| 7 | Wants=fsi-scan@%i.service |
| 8 | After=fsi-scan@%i.service |
Josh D. King | 9d5d7f4 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 9 | Conflicts=obmc-chassis-poweroff@%i.target |
Michael Tritz | df9ebb8 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 10 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Michael Tritz | 1929d6d | 2017-05-10 15:48:19 -0500 | [diff] [blame^] | 11 | ConditionPathExists=/var/lib/obmc/cfam_overrides |
Michael Tritz | df9ebb8 | 2017-04-12 16:08:39 -0500 | [diff] [blame] | 12 | |
| 13 | [Service] |
| 14 | ExecStart={sbindir}/openpower-proc-control CFAMOverride |
| 15 | Type=oneshot |
| 16 | RemainAfterExit=yes |
| 17 | |
| 18 | [Install] |
Josh D. King | 9d5d7f4 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 19 | WantedBy=obmc-chassis-poweron@%i.target |