From f77b88d124ea1c900f9cf5e04046939aad48bbe1 Mon Sep 17 00:00:00 2001 From: mbm Date: Sun, 6 Mar 2005 03:34:52 +0000 Subject: nbd's makefile/menuconfig rewrite git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@307 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/config/init/Config.in | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 package/busybox/config/init/Config.in (limited to 'package/busybox/config/init') diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in new file mode 100644 index 000000000..087d836bf --- /dev/null +++ b/package/busybox/config/init/Config.in @@ -0,0 +1,72 @@ +# +# For a description of the syntax of this configuration file, +# see scripts/kbuild/config-language.txt. +# + +menu "Init Utilities" + +config BUSYBOX_CONFIG_INIT + bool "init" + default y + help + init is the first program run when the system boots. + +config BUSYBOX_CONFIG_FEATURE_USE_INITTAB + bool " Support reading an inittab file?" + default y + depends on BUSYBOX_CONFIG_INIT + help + Allow init to read an inittab file when the system boot. + +config BUSYBOX_CONFIG_FEATURE_INITRD + bool " Support running init from within an initrd?" + default n + depends on BUSYBOX_CONFIG_INIT + help + Allow init to be called from an initrd as linuxrc. + +config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS + bool " Support dumping core for child processes (debugging only)?" + default n + depends on BUSYBOX_CONFIG_INIT + help + If this option is enabled and the file /.init_enable_core + exists, then init will call setrlimit() to allow unlimited + core file sizes. If this option is disabled, processes + will not generate any core files. + +config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET + bool " Should init be _extra_ quiet on boot?" + default n + depends on BUSYBOX_CONFIG_INIT + help + Prevent init from logging some messages to the console + during boot. + +config BUSYBOX_CONFIG_HALT + bool "halt" + default n + help + Stop all processes and halt the system. + +config BUSYBOX_CONFIG_POWEROFF + bool "poweroff" + default n + help + Stop all processes and (try to) power off the system. + +config BUSYBOX_CONFIG_REBOOT + bool "reboot" + default y + help + Stop all processes and reboot the system. + +config BUSYBOX_CONFIG_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 + +endmenu + -- cgit v1.2.3 From 71d39e274f5c2847a1b2eedd4afa8e298029f93d Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 4 Apr 2006 19:24:40 +0000 Subject: update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3587 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/config/init/Config.in | 54 ++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 23 deletions(-) (limited to 'package/busybox/config/init') diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in index 087d836bf..88dcaca2d 100644 --- a/package/busybox/config/init/Config.in +++ b/package/busybox/config/init/Config.in @@ -12,21 +12,32 @@ config BUSYBOX_CONFIG_INIT init is the first program run when the system boots. config BUSYBOX_CONFIG_FEATURE_USE_INITTAB - bool " Support reading an inittab file?" + bool " Support reading an inittab file" default y depends on BUSYBOX_CONFIG_INIT help Allow init to read an inittab file when the system boot. -config BUSYBOX_CONFIG_FEATURE_INITRD - bool " Support running init from within an initrd?" +config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY + bool " Support running commands with a controlling-tty" + default n + depends on BUSYBOX_CONFIG_INIT + help + If this option is enabled a command starting with hyphen (-) + is run in its own session (setsid(2)) and possibly with a + controlling tty (TIOCSCTTY). This is not the traditional init + behavour, but is often what you want in an embedded system where + the console is only accessed during development or for maintenance. + +config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET + bool " Be _extra_ quiet on boot" default n depends on BUSYBOX_CONFIG_INIT help - Allow init to be called from an initrd as linuxrc. + Prevent init from logging some messages to the console during boot. config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS - bool " Support dumping core for child processes (debugging only)?" + bool " Support dumping core for child processes (debugging only)" default n depends on BUSYBOX_CONFIG_INIT help @@ -35,31 +46,24 @@ config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS core file sizes. If this option is disabled, processes will not generate any core files. -config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET - bool " Should init be _extra_ quiet on boot?" - default n - depends on BUSYBOX_CONFIG_INIT - help - Prevent init from logging some messages to the console - during boot. -config BUSYBOX_CONFIG_HALT - bool "halt" - default n - help - Stop all processes and halt the system. -config BUSYBOX_CONFIG_POWEROFF - bool "poweroff" +config BUSYBOX_CONFIG_FEATURE_INITRD + bool " Support running init from within an initrd (not initramfs)" default n + depends on BUSYBOX_CONFIG_INIT help - Stop all processes and (try to) power off the system. + Legacy support for running init under the old-style initrd. Allows + the name linuxrc to act as init, and it doesn't assume init is PID 1. + + This does not apply to initramfs, which runs /init as PID 1 and + requires no special support. -config BUSYBOX_CONFIG_REBOOT - bool "reboot" +config BUSYBOX_CONFIG_HALT + bool "poweroff, halt, and reboot" default y help - Stop all processes and reboot the system. + Stop all processes and either halt, reboot, or power off the system. config BUSYBOX_CONFIG_MESG bool "mesg" @@ -68,5 +72,9 @@ config BUSYBOX_CONFIG_MESG Mesg controls access to your terminal by others. It is typically used to allow or disallow other users to write to your terminal + default y + help + Stop all processes and (try to) power off the system. + endmenu -- cgit v1.2.3 From 0d3fffa91dee49ba80032ce5c67f1cb47aee8f4d Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 8 Aug 2006 10:27:25 +0000 Subject: update busybox to v1.2.1 git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4528 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/config/init/Config.in | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'package/busybox/config/init') diff --git a/package/busybox/config/init/Config.in b/package/busybox/config/init/Config.in index 88dcaca2d..3696f7017 100644 --- a/package/busybox/config/init/Config.in +++ b/package/busybox/config/init/Config.in @@ -11,15 +11,23 @@ config BUSYBOX_CONFIG_INIT help init is the first program run when the system boots. +config BUSYBOX_CONFIG_DEBUG_INIT + bool "debugging aid" + default n + depends on BUSYBOX_CONFIG_INIT + help + Turn this on to disable all the dangerous + rebooting stuff when debugging. + config BUSYBOX_CONFIG_FEATURE_USE_INITTAB - bool " Support reading an inittab file" + bool "Support reading an inittab file" default y depends on BUSYBOX_CONFIG_INIT help Allow init to read an inittab file when the system boot. config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY - bool " Support running commands with a controlling-tty" + bool "Support running commands with a controlling-tty" default n depends on BUSYBOX_CONFIG_INIT help @@ -30,14 +38,14 @@ config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY the console is only accessed during development or for maintenance. config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET - bool " Be _extra_ quiet on boot" + bool "Be _extra_ quiet on boot" default n depends on BUSYBOX_CONFIG_INIT help Prevent init from logging some messages to the console during boot. config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS - bool " Support dumping core for child processes (debugging only)" + bool "Support dumping core for child processes (debugging only)" default n depends on BUSYBOX_CONFIG_INIT help @@ -49,7 +57,7 @@ config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS config BUSYBOX_CONFIG_FEATURE_INITRD - bool " Support running init from within an initrd (not initramfs)" + bool "Support running init from within an initrd (not initramfs)" default n depends on BUSYBOX_CONFIG_INIT help @@ -72,9 +80,4 @@ config BUSYBOX_CONFIG_MESG Mesg controls access to your terminal by others. It is typically used to allow or disallow other users to write to your terminal - default y - help - Stop all processes and (try to) power off the system. - endmenu - -- cgit v1.2.3