1c212353dSAndrew Geissler[Unit]
2c212353dSAndrew GeisslerDescription=Reset host sensors
3c212353dSAndrew GeisslerWants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4c212353dSAndrew GeisslerAfter=mapper-wait@-xyz-openbmc_project-state-host%i.service
5*0d1c3f1fSAndrew GeisslerAfter=obmc-host-reset@%i.target
6c212353dSAndrew GeisslerConditionPathExists=!/run/openbmc/host@%i-on
7c212353dSAndrew Geissler
8c212353dSAndrew Geissler[Service]
9c212353dSAndrew GeisslerRestart=no
10c212353dSAndrew GeisslerType=oneshot
11c212353dSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Boot.Progress  BootProgress s xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified"
12c212353dSAndrew GeisslerExecStart=/bin/sh -c "busctl set-property `mapper get-service /xyz/openbmc_project/state/host0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.OperatingSystem.Status OperatingSystemState s xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive"
13c212353dSAndrew Geissler
14c212353dSAndrew Geissler[Install]
15*0d1c3f1fSAndrew GeisslerWantedBy=multi-user.target
16