blob: f305907ecfb245d4e26f0467c110685f138fab5f [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
5Conflicts=obmc-chassis-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]
15WantedBy=obmc-chassis-start@%i.target