blob: c558bc50a7249c7a38095e34ba0a50e95614f955 [file] [log] [blame]
Adriana Kobylak10e915a2019-05-31 13:25:36 -05001[Unit]
2Description=Clear the Volatile PNOR partitions in host%I if Enabled
Adriana Kobylakbbb5e3b2020-06-19 10:22:13 -05003After=obmc-vpnor-enable-clearvolatile@%i.service
Adriana Kobylak10e915a2019-05-31 13:25:36 -05004Before=obmc-host-start-pre@%i.target
5ConditionPathExists=!/run/openbmc/host@%i-on
6
7[Service]
8Type=oneshot
9RemainAfterExit=no
Adriana Kobylakbbb5e3b2020-06-19 10:22:13 -050010ExecStart=/usr/bin/obmc-vpnor-util clearvolatile
Adriana Kobylak10e915a2019-05-31 13:25:36 -050011
12[Install]
Andrew Geissler67dbb252023-05-08 16:10:41 -050013#RequiredBy=obmc-host-startmin@%i.target