xref: /openbmc/openbmc/meta-phosphor/recipes-phosphor/clear-once/clear-once/clear-once.service (revision ff075f6ee795a590b244d70a90cc312ba1f2d83d)
1[Unit]
2Description=Clear one time boot overrides
3
4ConditionFileNotEmpty=/etc/fw_env.config
5RequiresMountsFor=/run /sbin /etc
6
7[Service]
8Type=oneshot
9RemainAfterExit=yes
10
11# It took 7 seconds to erase and write flash, be conservative
12TimeoutStartSec=60
13Restart=no
14
15ExecStart=/sbin/fw_setenv openbmconce
16ExecStart=/sbin/fw_setenv openbmconce
17