1119e5a2cSAndrew Geissler[Unit] 2119e5a2cSAndrew GeisslerDescription=Check if flash side switch is needed 3119e5a2cSAndrew GeisslerWants=obmc-host-start-pre@0.target 4119e5a2cSAndrew GeisslerBefore=obmc-host-start-pre@0.target 5119e5a2cSAndrew GeisslerWants=xyz.openbmc_project.Software.BMC.Updater.service 6119e5a2cSAndrew GeisslerAfter=xyz.openbmc_project.Software.BMC.Updater.service 7119e5a2cSAndrew GeisslerWants=xyz.openbmc_project.State.BMC.service 8119e5a2cSAndrew GeisslerAfter=xyz.openbmc_project.State.BMC.service 942089e34SAndrew GeisslerWants=xyz.openbmc_project.State.Chassis@0.service 1042089e34SAndrew GeisslerAfter=xyz.openbmc_project.State.Chassis@0.service 11119e5a2cSAndrew GeisslerWants=xyz.openbmc_project.Settings.service 12119e5a2cSAndrew GeisslerAfter=xyz.openbmc_project.Settings.service 13119e5a2cSAndrew GeisslerConditionPathExists=!/run/openbmc/host@0-on 14119e5a2cSAndrew Geissler 15119e5a2cSAndrew Geissler[Service] 16119e5a2cSAndrew GeisslerRestart=no 17119e5a2cSAndrew GeisslerType=oneshot 18119e5a2cSAndrew GeisslerRemainAfterExit=no 19119e5a2cSAndrew GeisslerExecStart=/usr/bin/phosphor-bmc-side-switch 20119e5a2cSAndrew Geissler 21119e5a2cSAndrew Geissler[Install] 22*cce26eb0SAndrew Geissler#WantedBy=obmc-host-startmin@0.target 23