aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/init/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/utils/busybox/config/init/Config.in')
-rw-r--r--package/utils/busybox/config/init/Config.in35
1 files changed, 23 insertions, 12 deletions
diff --git a/package/utils/busybox/config/init/Config.in b/package/utils/busybox/config/init/Config.in
index 00eb6175d1..fc6c916a68 100644
--- a/package/utils/busybox/config/init/Config.in
+++ b/package/utils/busybox/config/init/Config.in
@@ -1,13 +1,13 @@
# 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"
config BUSYBOX_CONFIG_BOOTCHARTD
- bool "bootchartd"
+ bool "bootchartd (10 kb)"
default BUSYBOX_DEFAULT_BOOTCHARTD
help
bootchartd is commonly used to profile the boot process
@@ -27,12 +27,12 @@ config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER
help
Create extended header file compatible with "big" bootchartd.
"Big" bootchartd is a shell script and it dumps some
- "convenient" info int the header, such as:
- title = Boot chart for `hostname` (`date`)
- system.uname = `uname -srvm`
- system.release = `cat /etc/DISTRO-release`
- system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
- system.kernel.options = `cat /proc/cmdline`
+ "convenient" info into the header, such as:
+ title = Boot chart for `hostname` (`date`)
+ system.uname = `uname -srvm`
+ system.release = `cat /etc/DISTRO-release`
+ system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
+ system.kernel.options = `cat /proc/cmdline`
This data is not mandatory for bootchart graph generation,
and is considered bloat. Nevertheless, this option
makes bootchartd applet to dump a subset of it.
@@ -45,23 +45,34 @@ config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE
Enable reading and parsing of $PWD/bootchartd.conf
and /etc/bootchartd.conf files.
config BUSYBOX_CONFIG_HALT
- bool "halt"
+ bool "halt (4 kb)"
default BUSYBOX_DEFAULT_HALT
help
Stop all processes and halt the system.
config BUSYBOX_CONFIG_POWEROFF
- bool "poweroff"
+ bool "poweroff (4 kb)"
default BUSYBOX_DEFAULT_POWEROFF
help
Stop all processes and power off the system.
config BUSYBOX_CONFIG_REBOOT
- bool "reboot"
+ bool "reboot (4 kb)"
default BUSYBOX_DEFAULT_REBOOT
help
Stop all processes and reboot the system.
+config BUSYBOX_CONFIG_FEATURE_WAIT_FOR_INIT
+ bool "Before signaling init, make sure it is ready for it"
+ default BUSYBOX_DEFAULT_FEATURE_WAIT_FOR_INIT
+ depends on BUSYBOX_CONFIG_HALT || BUSYBOX_CONFIG_POWEROFF || BUSYBOX_CONFIG_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_CONFIG_FEATURE_CALL_TELINIT
bool "Call telinit on shutdown and reboot"
default BUSYBOX_DEFAULT_FEATURE_CALL_TELINIT
@@ -82,7 +93,7 @@ config BUSYBOX_CONFIG_TELINIT_PATH
to facilitate proper shutdown, this path is to be used when
locating telinit executable.
config BUSYBOX_CONFIG_INIT
- bool "init"
+ bool "init (10 kb)"
default BUSYBOX_DEFAULT_INIT
select BUSYBOX_CONFIG_FEATURE_SYSLOG
help