summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/state/files/obmc
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-08-01 09:02:26 +0300
committerAndrew Geissler <geissonator@yahoo.com>2018-08-08 15:27:53 +0300
commit6be4a2c7016d22fdc4b7894e1225beb53cb00975 (patch)
treeb1f8c3c09bcede3887c12af6b12019bacf8d2c16 /meta-phosphor/common/recipes-phosphor/state/files/obmc
parent3a019552f9d0d45fbd00e0212dd961eb822cdafb (diff)
downloadopenbmc-6be4a2c7016d22fdc4b7894e1225beb53cb00975.tar.xz
phosphor-reboot-host: Use environment file for sleep
By default phosphor-reboot-host@.service sleeps for 5 seconds between power off and power on. Make the sleep time as configurable parameter in environment, so different machines could use different sleep time. Tested: Verify the sleep time is from the config file. Change-Id: I81d17e56010fe595dd46295923746f8678678209 Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/state/files/obmc')
-rw-r--r--meta-phosphor/common/recipes-phosphor/state/files/obmc/phosphor-reboot-host/reboot.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/state/files/obmc/phosphor-reboot-host/reboot.conf b/meta-phosphor/common/recipes-phosphor/state/files/obmc/phosphor-reboot-host/reboot.conf
new file mode 100644
index 0000000000..2e3ca1a5bc
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/state/files/obmc/phosphor-reboot-host/reboot.conf
@@ -0,0 +1 @@
+REBOOT_DELAY=5