blob: 8561bf2dbedd707327027afcb155b14f6e9bdcbb [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
5Conflicts=obmc-chassis-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]
14WantedBy=obmc-chassis-stop@%i.target