mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
eb6f5a58b9
The change was made with the following commands cd package/utils/busybox/config ../convert_menuconfig.pl ~/git-repo/openwrt/openwrt/build_dir/target-mips_24kc_musl/busybox-1.30.1 convert_defaults.pl has no changes other than overwriting defaults for BUSYBOX_DEFAULT_FEATURE_IPV6 Resolves FS#2146 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
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
|