diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-06 04:39:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-06 04:39:08 +0000 |
commit | 95ef16528cd90023244ee459d865f8770d164ac0 (patch) | |
tree | 5d071d726cff05f4201e6ced5b77ed6278e82c8c /init/Config.in | |
parent | 72a4c33568561095fe8d43c8b6f07654c3f593a1 (diff) | |
download | busybox-w32-95ef16528cd90023244ee459d865f8770d164ac0.tar.gz busybox-w32-95ef16528cd90023244ee459d865f8770d164ac0.tar.bz2 busybox-w32-95ef16528cd90023244ee459d865f8770d164ac0.zip |
2005-07-05 Shaun Jackman <sjackman@gmail.com>
* init/Config.in (CONFIG_FEATURE_INIT_SWAPON): New option.
* init/init.c (check_memory): Disable the swapon feature unless
CONFIG_FEATURE_INIT_SWAPON is defined.
Diffstat (limited to 'init/Config.in')
-rw-r--r-- | init/Config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Config.in b/init/Config.in index 4465e75a1..521f8fe1d 100644 --- a/init/Config.in +++ b/init/Config.in | |||
@@ -35,6 +35,14 @@ config CONFIG_FEATURE_INIT_COREDUMPS | |||
35 | core file sizes. If this option is disabled, processes | 35 | core file sizes. If this option is disabled, processes |
36 | will not generate any core files. | 36 | will not generate any core files. |
37 | 37 | ||
38 | config CONFIG_FEATURE_INIT_SWAPON | ||
39 | bool " Should init run swapon if short on memory?" | ||
40 | default y | ||
41 | depends on CONFIG_INIT | ||
42 | help | ||
43 | If the system has less than one megabyte of total memory, init | ||
44 | will run '/sbin/swapon -a' to add swap memory. | ||
45 | |||
38 | config CONFIG_FEATURE_EXTRA_QUIET | 46 | config CONFIG_FEATURE_EXTRA_QUIET |
39 | bool " Should init be _extra_ quiet on boot?" | 47 | bool " Should init be _extra_ quiet on boot?" |
40 | default y | 48 | default y |