aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/config/init/Config.in
diff options
context:
space:
mode:
authorMagnus Kroken <mkroken@gmail.com>2017-01-15 02:21:41 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-29 14:09:38 +0100
commit84da2a677a7133426829a05954af64dd533bf7a5 (patch)
tree474210544d3977e9c4aeb753d5da6c10fba79337 /package/utils/busybox/config/init/Config.in
parent5d2a9d2a3a21bd360cc0956bd31335e7e3396d1d (diff)
downloadupstream-84da2a677a7133426829a05954af64dd533bf7a5.tar.gz
upstream-84da2a677a7133426829a05954af64dd533bf7a5.tar.bz2
upstream-84da2a677a7133426829a05954af64dd533bf7a5.zip
busybox: update to 1.26.2
Refresh patches, delete patches that have been applied upstream. Signed-off-by: Magnus Kroken <mkroken@gmail.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix defaults]
Diffstat (limited to 'package/utils/busybox/config/init/Config.in')
-rw-r--r--package/utils/busybox/config/init/Config.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/package/utils/busybox/config/init/Config.in b/package/utils/busybox/config/init/Config.in
index 021656d3f9..cd1a345197 100644
--- a/package/utils/busybox/config/init/Config.in
+++ b/package/utils/busybox/config/init/Config.in
@@ -45,15 +45,27 @@ 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 "poweroff, halt, and reboot"
+ bool "halt"
default BUSYBOX_DEFAULT_HALT
help
- Stop all processes and either halt, reboot, or power off the system.
+ Stop all processes and halt the system.
+
+config BUSYBOX_CONFIG_POWEROFF
+ bool "poweroff"
+ default BUSYBOX_DEFAULT_POWEROFF
+ help
+ Stop all processes and power off the system.
+
+config BUSYBOX_CONFIG_REBOOT
+ bool "reboot"
+ default BUSYBOX_DEFAULT_REBOOT
+ help
+ Stop all processes and reboot the system.
config BUSYBOX_CONFIG_FEATURE_CALL_TELINIT
bool "Call telinit on shutdown and reboot"
default BUSYBOX_DEFAULT_FEATURE_CALL_TELINIT
- depends on BUSYBOX_CONFIG_HALT && !BUSYBOX_CONFIG_INIT
+ depends on (BUSYBOX_CONFIG_HALT || BUSYBOX_CONFIG_POWEROFF || BUSYBOX_CONFIG_REBOOT) && !BUSYBOX_CONFIG_INIT
help
Call an external program (normally telinit) to facilitate
a switch to a proper runlevel.
@@ -143,7 +155,7 @@ config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET
config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
bool "Support dumping core for child processes (debugging only)"
- default BUSYBOX_DEFAULT_FEATURE_INIT_COREDUMPS
+ default BUSYBOX_DEFAULT_FEATURE_INIT_COREDUMPS # not Y because this is a debug option
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
help
If this option is enabled and the file /.init_enable_core