blob: 51eec7f69a4bc345ea3664d8ca1df91015eea367 [file] [log] [blame]
Xo Wang61a10012016-12-15 18:29:58 -08001[Unit]
2Description=Disable AVSBus on VRMs
3Wants=obmc-power-stop-pre@%i.target
4Before=obmc-power-stop-pre@%i.target
Josh D. King6cf56c02017-04-06 15:56:37 -05005Conflicts=obmc-host-start@%i.target
Andrew Geissler4d3bdfa2017-03-02 16:25:43 -06006ConditionPathExists=!/run/openbmc/chassis@%i-on
Xo Wang61a10012016-12-15 18:29:58 -08007
8[Service]
9ExecStart={bindir}/zaius_avsbus.sh disable
10Type=oneshot
11RemainAfterExit=yes
12
13[Install]
Josh D. King6cf56c02017-04-06 15:56:37 -050014WantedBy=obmc-host-stop@%i.target