blob: e6bc9389c4b90f9d2ae2bad10a284ef6ba157d07 [file] [log] [blame]
Michael Tritzdf9ebb82017-04-12 16:08:39 -05001[Unit]
2Description=Applies user CFAM register overrides from file
3Wants=obmc-host-start-pre@%i.target
4Before=obmc-host-start-pre@%i.target
5Wants=obmc-power-on@%i.target
6After=obmc-power-on@%i.target
Matt Spinlerdbf13102017-09-18 15:40:44 -05007Wants=fsi-scan@%i.service
8After=fsi-scan@%i.service
Josh D. King9d5d7f42017-04-06 14:43:46 -05009Conflicts=obmc-chassis-poweroff@%i.target
Michael Tritzdf9ebb82017-04-12 16:08:39 -050010ConditionPathExists=!/run/openbmc/chassis@%i-on
Michael Tritz1929d6d2017-05-10 15:48:19 -050011ConditionPathExists=/var/lib/obmc/cfam_overrides
Michael Tritzdf9ebb82017-04-12 16:08:39 -050012
13[Service]
Michael Tritzebfbc5d2017-08-15 14:07:23 -050014ExecStart=/usr/bin/env openpower-proc-control CFAMOverride
15SyslogIdentifier=openpower-proc-control
Michael Tritzdf9ebb82017-04-12 16:08:39 -050016Type=oneshot
17RemainAfterExit=yes
18
19[Install]
Josh D. King9d5d7f42017-04-06 14:43:46 -050020WantedBy=obmc-chassis-poweron@%i.target