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