blob: 7a1df99703c3d94a2e192d32e9bed56de438e098 [file] [log] [blame]
Ben_Paib24a3e52019-07-15 16:19:02 +08001[Unit]
2Description=Disable the AVS bus on the VRMs
3Wants=op-power-start@.service
4After=op-power-start@.service
5Before=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