diff options
Diffstat (limited to 'packages/busybox/busybox-kconfigs/busybox-init.kconfig')
-rw-r--r-- | packages/busybox/busybox-kconfigs/busybox-init.kconfig | 54 |
1 files changed, 50 insertions, 4 deletions
diff --git a/packages/busybox/busybox-kconfigs/busybox-init.kconfig b/packages/busybox/busybox-kconfigs/busybox-init.kconfig index c22133c..bbcce9f 100644 --- a/packages/busybox/busybox-kconfigs/busybox-init.kconfig +++ b/packages/busybox/busybox-kconfigs/busybox-init.kconfig @@ -7,8 +7,49 @@ comment "-------------------------------------------------" comment "Init Utilities" comment "-------------------------------------------------" +config KEMBTK_BUSYB_BOOTCHARTD + bool "bootchartd" + depends on EMBTK_BB_VERSION_1_17_X + default y + help + bootchartd is commonly used to profile the boot process + for the purpose of speeding it up. In this case, it is started + by the kernel as the init process. This is configured by adding + the init=/sbin/bootchartd option to the kernel command line. + + It can also be used to monitor the resource usage of a specific + application or the running system in general. In this case, + bootchartd is started interactively by running bootchartd start + and stopped using bootchartd stop. + +config KEMBTK_BUSYB_FEATURE_BOOTCHARTD_BLOATED_HEADER + bool "Compatible, bloated header" + default y + depends on KEMBTK_BUSYB_BOOTCHARTD + 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` + 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. + +config KEMBTK_BUSYB_FEATURE_BOOTCHARTD_CONFIG_FILE + bool "Support bootchartd.conf" + default y + depends on KEMBTK_BUSYB_BOOTCHARTD + help + Enable reading and parsing of $PWD/bootchartd.conf + and /etc/bootchartd.conf files. + config KEMBTK_BUSYB_INIT bool "init" + default y select KEMBTK_BUSYB_FEATURE_SYSLOG help init is the first program run when the system boots. @@ -22,12 +63,11 @@ config KEMBTK_BUSYB_FEATURE_USE_INITTAB config KEMBTK_BUSYB_FEATURE_KILL_REMOVED bool "Support killing processes that have been removed from inittab" - default y depends on KEMBTK_BUSYB_FEATURE_USE_INITTAB help When respawn entries are removed from inittab and a SIGHUP is - sent to init, this feature will kill the processes that have - been removed. + sent to init, this option will make init kill the processes + that have been removed. config KEMBTK_BUSYB_FEATURE_KILL_DELAY int "How long to wait between TERM and KEMBTK_BUSYB_KILL (0 - send TERM only)" if KEMBTK_BUSYB_FEATURE_KILL_REMOVED @@ -42,6 +82,7 @@ config KEMBTK_BUSYB_FEATURE_KILL_DELAY config KEMBTK_BUSYB_FEATURE_INIT_SCTTY bool "Run commands with leading dash with controlling tty" + default y depends on KEMBTK_BUSYB_INIT help If this option is enabled, init will try to give a controlling @@ -56,6 +97,7 @@ config KEMBTK_BUSYB_FEATURE_INIT_SCTTY config KEMBTK_BUSYB_FEATURE_INIT_SYSLOG bool "Enable init to write to syslog" + default y depends on KEMBTK_BUSYB_INIT config KEMBTK_BUSYB_FEATURE_EXTRA_QUIET @@ -67,6 +109,7 @@ config KEMBTK_BUSYB_FEATURE_EXTRA_QUIET config KEMBTK_BUSYB_FEATURE_INIT_COREDUMPS bool "Support dumping core for child processes (debugging only)" + default y depends on KEMBTK_BUSYB_INIT help If this option is enabled and the file /.init_enable_core @@ -87,13 +130,15 @@ config KEMBTK_BUSYB_FEATURE_INITRD config KEMBTK_BUSYB_HALT bool "poweroff, halt, and reboot" + default y help Stop all processes and either halt, reboot, or power off the system. config KEMBTK_BUSYB_FEATURE_CALL_TELINIT bool "Call telinit on shutdown and reboot" + default y depends on KEMBTK_BUSYB_HALT && !KEMBTK_BUSYB_INIT - depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X + depends on EMBTK_BB_VERSION_1_15_X || EMBTK_BB_VERSION_1_16_X || EMBTK_BB_VERSION_1_17_X help Call an external program (normally telinit) to facilitate a switch to a proper runlevel. @@ -112,6 +157,7 @@ config KEMBTK_BUSYB_TELINIT_PATH config KEMBTK_BUSYB_MESG bool "mesg" + default y help Mesg controls access to your terminal by others. It is typically used to allow or disallow other users to write to your terminal |