blob: c303721693cb75dae4161520737a9ac298980f5c [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]
13RequiredBy=obmc-host-startmin@%i.target