blob: 5396948bc92d81ee35822cf5c8cf3257fa91f34b [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]
10ExecStart=/usr/bin/env avsbus-disable.sh
11SyslogIdentifier=avsbus-disable.sh
12Type=oneshot
13RemainAfterExit=yes
14
15[Install]
16WantedBy=obmc-chassis-poweron@%i.target