blob: 2a8ea37e06c6bc3d128ca67195cfd4e3660782ec [file] [log] [blame]
Lei YU3dd1eea2016-12-27 14:43:14 +08001[Unit]
2Description=Disable the AVS bus on the VRMs
Andrew Geisslered654172023-01-26 13:38:16 -07003Wants=obmc-power-start@.service
4After=obmc-power-start@.service
Lei YU3dd1eea2016-12-27 14:43:14 +08005Before=vrm-control@%i.service
Josh D. Kingb9ee5362017-04-06 14:43:46 -05006Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geisslerb8c47702017-03-02 16:25:43 -06007ConditionPathExists=!/run/openbmc/chassis@%i-on
Lei YU3dd1eea2016-12-27 14:43:14 +08008
9[Service]
Matt Spinler568781e2022-04-07 16:46:36 -050010ExecStart=/usr/bin/avsbus-disable.sh
Lei YU3dd1eea2016-12-27 14:43:14 +080011Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050015WantedBy=obmc-chassis-poweron@%i.target