summaryrefslogtreecommitdiffstats
path: root/ubi/obmc-flash-bios-check-clearvolatile@.service
blob: a5c69eabe4ec6901fe98cb09da3a248f6d0eee8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Clear the Volatile PNOR partitions in host%I if Enabled
After=obmc-flash-bios-enable-clearvolatile@%i.service
Before=obmc-host-start-pre@%i.target
ConditionPathExists=!/run/openbmc/host@%i-on

[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/obmc-flash-bios clearvolatile

[Install]
RequiredBy=obmc-host-startmin@%i.target
OpenPOWER on IntegriCloud