Ben_Pai | c53430a | 2019-07-15 16:19:02 +0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=Disable the AVS bus on the VRMs | ||||
3 | Wants=op-power-start@.service | ||||
4 | After=op-power-start@.service | ||||
5 | Before=avsbus-enable@%i.service | ||||
6 | Conflicts=obmc-chassis-poweroff@%i.target | ||||
7 | ConditionPathExists=!/run/openbmc/chassis@%i-on | ||||
8 | |||||
9 | [Service] | ||||
10 | ExecStart=/usr/bin/env avsbus-disable.sh | ||||
11 | SyslogIdentifier=avsbus-disable.sh | ||||
12 | Type=oneshot | ||||
13 | RemainAfterExit=yes | ||||
14 | |||||
15 | [Install] | ||||
16 | WantedBy=obmc-chassis-poweron@%i.target |