blob: 3aedd16e0d8a4cb605004d0aff6d276def7c41fb [file] [log] [blame]
Lei YU3dd1eea2016-12-27 14:43:14 +08001[Unit]
2Description=Disable the AVS bus on the VRMs
Joel Stanley8b98be12018-10-31 12:24:32 +10303Wants=op-power-start@.service
4After=op-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