blob: 247c506b797aeae904c8abfece9c84f8c030cfd4 [file] [log] [blame]
Alexander Filippovb7f7dbd2019-07-25 16:42:57 +03001[Unit]
2Description=Enable the AVS bus on VRMs
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
9Conflicts=obmc-chassis-poweroff@%i.target
10ConditionPathExists=!/run/openbmc/chassis@%i-on
11
12[Service]
13ExecStart=/usr/bin/avsbus-control.sh
14SyslogIdentifier=avsbus-control.sh
15Type=oneshot
16RemainAfterExit=yes
17
18[Install]
19WantedBy=obmc-chassis-poweron@%i.target
20