diff options
Diffstat (limited to 'config/busybox/init/Config.in')
-rw-r--r-- | config/busybox/init/Config.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/busybox/init/Config.in b/config/busybox/init/Config.in index 74a2147a2..60aed11ac 100644 --- a/config/busybox/init/Config.in +++ b/config/busybox/init/Config.in @@ -1,7 +1,7 @@ # DO NOT EDIT. This file is generated from Config.src # # For a description of the syntax of this configuration file, -# see scripts/kbuild/config-language.txt. +# see docs/Kconfig-language.txt. # menu "Init Utilities" @@ -62,6 +62,17 @@ config BUSYBOX_REBOOT help Stop all processes and reboot the system. +config BUSYBOX_FEATURE_WAIT_FOR_INIT + bool "Before signaling init, make sure it is ready for it" + default y + depends on BUSYBOX_HALT || BUSYBOX_POWEROFF || BUSYBOX_REBOOT + help + In rare cases, poweroff may be commanded by firmware to OS + even before init process exists. On Linux, this spawns + "/sbin/poweroff" very early. This option adds code + which checks that init is ready to receive poweroff + commands. Code size increase of ~80 bytes. + config BUSYBOX_FEATURE_CALL_TELINIT bool "Call telinit on shutdown and reboot" default y |