Brian Yang | fb6b450 | 2018-07-10 02:02:53 -0400 | [diff] [blame] | 1 | [Unit] |
2 | Description=Disable AVSBus on VRMs | ||||
3 | Wants=obmc-power-stop-pre@%i.target | ||||
4 | Before=obmc-power-stop-pre@%i.target | ||||
5 | Conflicts=obmc-host-startmin@%i.target | ||||
6 | ConditionPathExists=!/run/openbmc/chassis@%i-on | ||||
7 | |||||
8 | [Service] | ||||
9 | ExecStart=/usr/bin/env lanyang_avsbus.sh disable | ||||
10 | SyslogIdentifier=lanyang_avsbus.sh | ||||
11 | Type=oneshot | ||||
12 | RemainAfterExit=yes | ||||
13 | |||||
14 | [Install] | ||||
15 | WantedBy=obmc-host-stop@%i.target |