blob: af66b4db9bde6f05388dcbcf568df335fa5079fc [file] [log] [blame]
Michael Tritzeee45422018-03-13 16:53:15 -05001[Unit]
2Description=Clear the Volatile PNOR partitions in host%i if Enabled
3After=obmc-flash-bios-enable-clearvolatile@%i.service
4Before=obmc-host-start-pre@%i.target
5ConditionPathExists=!/run/openbmc/host@%i-on
6
7[Service]
8Type=oneshot
9RemainAfterExit=no
10ExecStart=/usr/bin/env obmc-flash-bios clearvolatile
11SyslogIdentifier=obmc-flash-bios-check-clearvolatile
12
13[Install]
14RequiredBy=obmc-host-startmin@%i.target