blob: e040738c7fd3a55bee3eb2dff1b0a088f057d756 [file] [log] [blame]
Michael Tritzeee45422018-03-13 16:53:15 -05001[Unit]
2Description=Enable the clearing of the Volatile PNOR partitions in host%i
3After=mapper-wait@-org-open_power-control-volatile.service
Matt Spinlere9248ec2018-06-29 13:52:12 -05004Before=obmc-flash-bios-check-clearvolatile@%i.service
Michael Tritzeee45422018-03-13 16:53:15 -05005ConditionPathExists=!/run/openbmc/host@%i-on
6
7[Service]
8Type=oneshot
9RemainAfterExit=no
10ExecStart=/bin/sh -c "busctl set-property `mapper get-service /org/open_power/control/volatile` /org/open_power/control/volatile xyz.openbmc_project.Object.Enable Enabled b true"
11SyslogIdentifier=obmc-flash-bios-enable-clearvolatile
12
13[Install]
14RequiredBy=obmc-host-start@%i.target