blob: c343fa14931c4dd4ac31391bafdc9c892d5d8e81 [file] [log] [blame]
Ben_Paib24a3e52019-07-15 16:19:02 +08001[Unit]
2Description=Disable the AVS bus on the VRMs
Ben Paic906d192019-12-24 11:43:57 +08003Wants=ir35221-on-unbind@%i.service
4After=ir35221-on-unbind@%i.service
Ben_Paib24a3e52019-07-15 16:19:02 +08005Before=avsbus-enable@%i.service
6Conflicts=obmc-chassis-poweroff@%i.target
7ConditionPathExists=!/run/openbmc/chassis@%i-on
8
9[Service]
Matt Spinler568781e2022-04-07 16:46:36 -050010ExecStart=/usr/bin/avsbus-disable.sh
Ben_Paib24a3e52019-07-15 16:19:02 +080011Type=oneshot
12RemainAfterExit=yes
13
14[Install]
15WantedBy=obmc-chassis-poweron@%i.target