blob: 5f7cac7c053e406b9233eb9a045c8aad8fe0af01 [file] [log] [blame]
Michael Tritz330f9962017-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 Spinlerd6082202017-09-18 15:40:44 -05007Wants=fsi-scan@%i.service
8After=fsi-scan@%i.service
Josh D. Kingb9ee5362017-04-06 14:43:46 -05009Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler4e174d12020-02-26 14:11:53 -060010Conflicts=obmc-host-stop@%i.target
Michael Tritz330f9962017-04-12 16:08:39 -050011ConditionPathExists=!/run/openbmc/chassis@%i-on
Michael Tritzb02d19f2017-05-10 15:48:19 -050012ConditionPathExists=/var/lib/obmc/cfam_overrides
Michael Tritz330f9962017-04-12 16:08:39 -050013
14[Service]
Matt Spinler707c38c2022-04-07 16:23:47 -050015ExecStart=/usr/bin/openpower-proc-control CFAMOverride
Michael Tritz330f9962017-04-12 16:08:39 -050016Type=oneshot
17RemainAfterExit=yes
18
19[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050020WantedBy=obmc-chassis-poweron@%i.target
Andrew Geissler4e174d12020-02-26 14:11:53 -060021WantedBy=obmc-host-startmin@%i.target