mirror of https://github.com/hak5/openwrt.git
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
|
# DO NOT EDIT. This file is generated from Config.src
|
||
|
#
|
||
|
# For a description of the syntax of this configuration file,
|
||
|
# see docs/Kconfig-language.txt.
|
||
|
#
|
||
|
|
||
|
menu "klibc-utils"
|
||
|
|
||
|
config BUSYBOX_CONFIG_MINIPS
|
||
|
bool "minips (11 kb)"
|
||
|
default BUSYBOX_DEFAULT_MINIPS # for god's sake, just use "ps" name in your scripts
|
||
|
help
|
||
|
Alias to "ps".
|
||
|
config BUSYBOX_CONFIG_NUKE
|
||
|
bool "nuke (2.9 kb)"
|
||
|
default BUSYBOX_DEFAULT_NUKE
|
||
|
help
|
||
|
Alias to "rm -rf".
|
||
|
config BUSYBOX_CONFIG_RESUME
|
||
|
bool "resume (3.2 kb)"
|
||
|
default BUSYBOX_DEFAULT_RESUME
|
||
|
help
|
||
|
Resume from saved "suspend-to-disk" image
|
||
|
config BUSYBOX_CONFIG_RUN_INIT
|
||
|
bool "run-init (7.7 kb)"
|
||
|
default BUSYBOX_DEFAULT_RUN_INIT
|
||
|
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||
|
help
|
||
|
The run-init utility is used from initramfs to select a new
|
||
|
root device. Under initramfs, you have to use this instead of
|
||
|
pivot_root.
|
||
|
|
||
|
Booting with initramfs extracts a gzipped cpio archive into rootfs
|
||
|
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
|
||
|
or unmounted, pivot_root will not work from initramfs. Instead,
|
||
|
run-init deletes everything out of rootfs (including itself),
|
||
|
does a mount --move that overmounts rootfs with the new root, and
|
||
|
then execs the specified init program.
|
||
|
|
||
|
util-linux has a similar tool, switch-root.
|
||
|
run-init differs by also having a "-d CAPS_TO_DROP" option.
|
||
|
|
||
|
endmenu
|