diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service')
-rw-r--r-- | meta-phosphor/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service b/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service new file mode 100644 index 000000000..f062fc9c8 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service @@ -0,0 +1,11 @@ +[Unit] +Description=Set Fans to Maximum +Wants=mapper-wait@-org-openbmc-control-fans.service +After=mapper-wait@-org-openbmc-control-fans.service +After=obmc-fan-control.target + +[Service] +Type=oneshot +Restart=no +ExecStart=/bin/sh -c "busctl call `mapper get-service /org/openbmc/control/fans` /org/openbmc/control/fans org.openbmc.control.Fans setMax" +SyslogIdentifier=obmc-max-fans |