blob: b945529ac511dde6fc853b882eb7a188212a873d [file] [log] [blame]
Xo Wang61a10012016-12-15 18:29:58 -08001[Unit]
2Description=Enable AVSBus on VRMs
3Wants=obmc-host-start-pre@%i.target
4Before=obmc-host-start-pre@%i.target
Josh D. King6cf56c02017-04-06 15:56:37 -05005Conflicts=obmc-host-stop@%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]
Xo Wang41c193f2017-02-15 17:10:15 -08009ExecStart={bindir}/zaius_avsbus.sh vdn_max
Xo Wang61a10012016-12-15 18:29:58 -080010ExecStart={bindir}/zaius_avsbus.sh enable
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. Kingf5ba9272017-04-06 14:43:46 -050015RequiredBy=obmc-chassis-poweron@%i.target