blob: 8b989bb14474e24a53ecdc6b3969b29800624432 [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
7Wants=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
11ConditionFileExists=/var/lib/obmc/cfam_overrides
12
13[Service]
14ExecStart={sbindir}/openpower-proc-control CFAMOverride
15Type=oneshot
16RemainAfterExit=yes
17
18[Install]
Josh D. King9d5d7f42017-04-06 14:43:46 -050019WantedBy=obmc-chassis-poweron@%i.target