summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/avsbus-control/avsbus-disable@.service
blob: 8561bf2dbedd707327027afcb155b14f6e9bdcbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Disable AVSBus on VRMs
Wants=obmc-power-stop-pre@%i.target
Before=obmc-power-stop-pre@%i.target
Conflicts=obmc-chassis-start@%i.target
ConditionPathExists=!/run/openbmc/chassis@%i-on

[Service]
ExecStart={bindir}/zaius_avsbus.sh disable
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=obmc-chassis-stop@%i.target
OpenPOWER on IntegriCloud