blob: 787ec4cbf943a6c7f3d60dc02c34c2c040a7110e [file] [log] [blame]
Brian Yangb0b8c642018-07-10 02:02:53 -04001[Unit]
2Description=Enable AVSBus on VRMs
3Wants=obmc-host-start-pre@%i.target
4Before=obmc-host-start-pre@%i.target
5Conflicts=obmc-host-stop@%i.target
6ConditionPathExists=!/run/openbmc/chassis@%i-on
7
8[Service]
9ExecStart=/usr/bin/env lanyang_avsbus.sh vdn_max
10ExecStart=/usr/bin/env lanyang_avsbus.sh enable
11SyslogIdentifier=lanyang_avsbus.sh
12Type=oneshot
13RemainAfterExit=yes
14
15[Install]
16RequiredBy=obmc-chassis-poweron@%i.target