xref: /openbmc/openpower-pnor-code-mgmt/vpnor/obmc-vpnor-enable-clearvolatile@.service (revision bbb5e3bec1ca0cc073e9096ced453adc23fecffb)
1[Unit]
2Description=Enable the clearing of the Volatile PNOR partitions in host%I
3After=obmc-host-reset-running@%i.target
4Wants=mapper-wait@-org-open_power-control-volatile.service
5After=mapper-wait@-org-open_power-control-volatile.service
6Before=obmc-vpnor-check-clearvolatile@%i.service
7ConditionPathExists=!/run/openbmc/host@%i-on
8
9[Service]
10Type=oneshot
11RemainAfterExit=no
12ExecStart=/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"
13SyslogIdentifier=obmc-vpnor-enable-clearvolatile
14
15[Install]
16RequiredBy=obmc-host-start@%i.target
17