summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/chassis/avsbus-control/mihawk/avsbus-disable@.service
blob: c343fa14931c4dd4ac31391bafdc9c892d5d8e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Disable the AVS bus on the VRMs
Wants=ir35221-on-unbind@%i.service
After=ir35221-on-unbind@%i.service
Before=avsbus-enable@%i.service
Conflicts=obmc-chassis-poweroff@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on

[Service]
ExecStart=/usr/bin/avsbus-disable.sh
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=obmc-chassis-poweron@%i.target