config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
75d151e31d
commit
72089cf6b4
602
Config.in
602
Config.in
@ -15,314 +15,314 @@ config DESKTOP
|
|||||||
bool "Enable compatibility for full-blown desktop systems"
|
bool "Enable compatibility for full-blown desktop systems"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable applet options and features which are not essential.
|
Enable applet options and features which are not essential.
|
||||||
Many applet options have dedicated config options to (de)select them
|
Many applet options have dedicated config options to (de)select them
|
||||||
under that applet; this options enables those options which have no
|
under that applet; this options enables those options which have no
|
||||||
individual config item for them.
|
individual config item for them.
|
||||||
|
|
||||||
Select this if you plan to use busybox on full-blown desktop machine
|
Select this if you plan to use busybox on full-blown desktop machine
|
||||||
with common Linux distro, which needs higher level of command-line
|
with common Linux distro, which needs higher level of command-line
|
||||||
compatibility.
|
compatibility.
|
||||||
|
|
||||||
If you are preparing your build to be used on an embedded box
|
If you are preparing your build to be used on an embedded box
|
||||||
where you have tighter control over the entire set of userspace
|
where you have tighter control over the entire set of userspace
|
||||||
tools, you can unselect this option for smaller code size.
|
tools, you can unselect this option for smaller code size.
|
||||||
|
|
||||||
config EXTRA_COMPAT
|
config EXTRA_COMPAT
|
||||||
bool "Provide compatible behavior for rare corner cases (bigger code)"
|
bool "Provide compatible behavior for rare corner cases (bigger code)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This option makes grep, sed etc handle rare corner cases
|
This option makes grep, sed etc handle rare corner cases
|
||||||
(embedded NUL bytes and such). This makes code bigger and uses
|
(embedded NUL bytes and such). This makes code bigger and uses
|
||||||
some GNU extensions in libc. You probably only need this option
|
some GNU extensions in libc. You probably only need this option
|
||||||
if you plan to run busybox on desktop.
|
if you plan to run busybox on desktop.
|
||||||
|
|
||||||
config INCLUDE_SUSv2
|
config INCLUDE_SUSv2
|
||||||
bool "Enable obsolete features removed before SUSv3"
|
bool "Enable obsolete features removed before SUSv3"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This option will enable backwards compatibility with SuSv2,
|
This option will enable backwards compatibility with SuSv2,
|
||||||
specifically, old-style numeric options ('command -1 <file>')
|
specifically, old-style numeric options ('command -1 <file>')
|
||||||
will be supported in head, tail, and fold. (Note: should
|
will be supported in head, tail, and fold. (Note: should
|
||||||
affect renice too.)
|
affect renice too.)
|
||||||
|
|
||||||
config LONG_OPTS
|
config LONG_OPTS
|
||||||
bool "Support --long-options"
|
bool "Support --long-options"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable this if you want busybox applets to use the gnu --long-option
|
Enable this if you want busybox applets to use the gnu --long-option
|
||||||
style, in addition to single character -a -b -c style options.
|
style, in addition to single character -a -b -c style options.
|
||||||
|
|
||||||
config SHOW_USAGE
|
config SHOW_USAGE
|
||||||
bool "Show applet usage messages"
|
bool "Show applet usage messages"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enabling this option, BusyBox applets will show terse help messages
|
Enabling this option, BusyBox applets will show terse help messages
|
||||||
when invoked with wrong arguments.
|
when invoked with wrong arguments.
|
||||||
If you do not want to show any (helpful) usage message when
|
If you do not want to show any (helpful) usage message when
|
||||||
issuing wrong command syntax, you can say 'N' here,
|
issuing wrong command syntax, you can say 'N' here,
|
||||||
saving approximately 7k.
|
saving approximately 7k.
|
||||||
|
|
||||||
config FEATURE_VERBOSE_USAGE
|
config FEATURE_VERBOSE_USAGE
|
||||||
bool "Show verbose applet usage messages"
|
bool "Show verbose applet usage messages"
|
||||||
default y
|
default y
|
||||||
depends on SHOW_USAGE
|
depends on SHOW_USAGE
|
||||||
help
|
help
|
||||||
All BusyBox applets will show verbose help messages when
|
All BusyBox applets will show verbose help messages when
|
||||||
busybox is invoked with --help. This will add a lot of text to the
|
busybox is invoked with --help. This will add a lot of text to the
|
||||||
busybox binary. In the default configuration, this will add about
|
busybox binary. In the default configuration, this will add about
|
||||||
13k, but it can add much more depending on your configuration.
|
13k, but it can add much more depending on your configuration.
|
||||||
|
|
||||||
config FEATURE_COMPRESS_USAGE
|
config FEATURE_COMPRESS_USAGE
|
||||||
bool "Store applet usage messages in compressed form"
|
bool "Store applet usage messages in compressed form"
|
||||||
default y
|
default y
|
||||||
depends on SHOW_USAGE
|
depends on SHOW_USAGE
|
||||||
help
|
help
|
||||||
Store usage messages in .bz compressed form, uncompress them
|
Store usage messages in .bz compressed form, uncompress them
|
||||||
on-the-fly when <applet> --help is called.
|
on-the-fly when <applet> --help is called.
|
||||||
|
|
||||||
If you have a really tiny busybox with few applets enabled (and
|
If you have a really tiny busybox with few applets enabled (and
|
||||||
bunzip2 isn't one of them), the overhead of the decompressor might
|
bunzip2 isn't one of them), the overhead of the decompressor might
|
||||||
be noticeable. Also, if you run executables directly from ROM
|
be noticeable. Also, if you run executables directly from ROM
|
||||||
and have very little memory, this might not be a win. Otherwise,
|
and have very little memory, this might not be a win. Otherwise,
|
||||||
you probably want this.
|
you probably want this.
|
||||||
|
|
||||||
config LFS
|
config LFS
|
||||||
bool "Support files > 2 GB"
|
bool "Support files > 2 GB"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
If you want to build BusyBox with large file support, then enable
|
If you want to build BusyBox with large file support, then enable
|
||||||
this option. This will have no effect if your kernel or your C
|
this option. This will have no effect if your kernel or your C
|
||||||
library lacks large file support for large files. Some of the
|
library lacks large file support for large files. Some of the
|
||||||
programs that can benefit from large file support include dd, gzip,
|
programs that can benefit from large file support include dd, gzip,
|
||||||
cp, mount, tar, and many others. If you want to access files larger
|
cp, mount, tar, and many others. If you want to access files larger
|
||||||
than 2 Gigabytes, enable this option.
|
than 2 Gigabytes, enable this option.
|
||||||
|
|
||||||
config PAM
|
config PAM
|
||||||
bool "Support PAM (Pluggable Authentication Modules)"
|
bool "Support PAM (Pluggable Authentication Modules)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Use PAM in some busybox applets (currently login and httpd) instead
|
Use PAM in some busybox applets (currently login and httpd) instead
|
||||||
of direct access to password database.
|
of direct access to password database.
|
||||||
|
|
||||||
config FEATURE_DEVPTS
|
config FEATURE_DEVPTS
|
||||||
bool "Use the devpts filesystem for Unix98 PTYs"
|
bool "Use the devpts filesystem for Unix98 PTYs"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable if you want BusyBox to use Unix98 PTY support. If enabled,
|
Enable if you want BusyBox to use Unix98 PTY support. If enabled,
|
||||||
busybox will use /dev/ptmx for the master side of the pseudoterminal
|
busybox will use /dev/ptmx for the master side of the pseudoterminal
|
||||||
and /dev/pts/<number> for the slave side. Otherwise, BSD style
|
and /dev/pts/<number> for the slave side. Otherwise, BSD style
|
||||||
/dev/ttyp<number> will be used. To use this option, you should have
|
/dev/ttyp<number> will be used. To use this option, you should have
|
||||||
devpts mounted.
|
devpts mounted.
|
||||||
|
|
||||||
config FEATURE_UTMP
|
config FEATURE_UTMP
|
||||||
bool "Support utmp file"
|
bool "Support utmp file"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The file /var/run/utmp is used to track who is currently logged in.
|
The file /var/run/utmp is used to track who is currently logged in.
|
||||||
With this option on, certain applets (getty, login, telnetd etc)
|
With this option on, certain applets (getty, login, telnetd etc)
|
||||||
will create and delete entries there.
|
will create and delete entries there.
|
||||||
"who" applet requires this option.
|
"who" applet requires this option.
|
||||||
|
|
||||||
config FEATURE_WTMP
|
config FEATURE_WTMP
|
||||||
bool "Support wtmp file"
|
bool "Support wtmp file"
|
||||||
default y
|
default y
|
||||||
depends on FEATURE_UTMP
|
depends on FEATURE_UTMP
|
||||||
help
|
help
|
||||||
The file /var/run/wtmp is used to track when users have logged into
|
The file /var/run/wtmp is used to track when users have logged into
|
||||||
and logged out of the system.
|
and logged out of the system.
|
||||||
With this option on, certain applets (getty, login, telnetd etc)
|
With this option on, certain applets (getty, login, telnetd etc)
|
||||||
will append new entries there.
|
will append new entries there.
|
||||||
"last" applet requires this option.
|
"last" applet requires this option.
|
||||||
|
|
||||||
config FEATURE_PIDFILE
|
config FEATURE_PIDFILE
|
||||||
bool "Support writing pidfiles"
|
bool "Support writing pidfiles"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This option makes some applets (e.g. crond, syslogd, inetd) write
|
This option makes some applets (e.g. crond, syslogd, inetd) write
|
||||||
a pidfile at the configured PID_FILE_PATH. It has no effect
|
a pidfile at the configured PID_FILE_PATH. It has no effect
|
||||||
on applets which require pidfiles to run.
|
on applets which require pidfiles to run.
|
||||||
|
|
||||||
config PID_FILE_PATH
|
config PID_FILE_PATH
|
||||||
string "Directory for pidfiles"
|
string "Directory for pidfiles"
|
||||||
default "/var/run"
|
default "/var/run"
|
||||||
depends on FEATURE_PIDFILE
|
depends on FEATURE_PIDFILE
|
||||||
help
|
help
|
||||||
This is the default path where pidfiles are created. Applets which
|
This is the default path where pidfiles are created. Applets which
|
||||||
allow you to set the pidfile path on the command line will override
|
allow you to set the pidfile path on the command line will override
|
||||||
this value. The option has no effect on applets that require you to
|
this value. The option has no effect on applets that require you to
|
||||||
specify a pidfile path.
|
specify a pidfile path.
|
||||||
|
|
||||||
config BUSYBOX
|
config BUSYBOX
|
||||||
bool "Include busybox applet"
|
bool "Include busybox applet"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The busybox applet provides general help regarding busybox and
|
The busybox applet provides general help regarding busybox and
|
||||||
allows the included applets to be listed. It's also required
|
allows the included applets to be listed. It's also required
|
||||||
if applet links are to be installed at runtime. If you unselect
|
if applet links are to be installed at runtime. If you unselect
|
||||||
this option, running busybox without any arguments will give
|
this option, running busybox without any arguments will give
|
||||||
just a cryptic error message:
|
just a cryptic error message:
|
||||||
|
|
||||||
$ busybox
|
$ busybox
|
||||||
busybox: applet not found
|
busybox: applet not found
|
||||||
|
|
||||||
Running "busybox APPLET [ARGS...]" will still work, of course.
|
Running "busybox APPLET [ARGS...]" will still work, of course.
|
||||||
|
|
||||||
config FEATURE_INSTALLER
|
config FEATURE_INSTALLER
|
||||||
bool "Support --install [-s] to install applet links at runtime"
|
bool "Support --install [-s] to install applet links at runtime"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX
|
depends on BUSYBOX
|
||||||
help
|
help
|
||||||
Enable 'busybox --install [-s]' support. This will allow you to use
|
Enable 'busybox --install [-s]' support. This will allow you to use
|
||||||
busybox at runtime to create hard links or symlinks for all the
|
busybox at runtime to create hard links or symlinks for all the
|
||||||
applets that are compiled into busybox.
|
applets that are compiled into busybox.
|
||||||
|
|
||||||
config INSTALL_NO_USR
|
config INSTALL_NO_USR
|
||||||
bool "Don't use /usr"
|
bool "Don't use /usr"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Disable use of /usr. busybox --install and "make install"
|
Disable use of /usr. busybox --install and "make install"
|
||||||
will install applets only to /bin and /sbin,
|
will install applets only to /bin and /sbin,
|
||||||
never to /usr/bin or /usr/sbin.
|
never to /usr/bin or /usr/sbin.
|
||||||
|
|
||||||
config FEATURE_SUID
|
config FEATURE_SUID
|
||||||
bool "Drop SUID state for most applets"
|
bool "Drop SUID state for most applets"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
With this option you can install the busybox binary belonging
|
With this option you can install the busybox binary belonging
|
||||||
to root with the suid bit set, enabling some applets to perform
|
to root with the suid bit set, enabling some applets to perform
|
||||||
root-level operations even when run by ordinary users
|
root-level operations even when run by ordinary users
|
||||||
(for example, mounting of user mounts in fstab needs this).
|
(for example, mounting of user mounts in fstab needs this).
|
||||||
|
|
||||||
With this option enabled, Busybox drops privileges for applets
|
With this option enabled, Busybox drops privileges for applets
|
||||||
that don't need root access, before entering their main() function.
|
that don't need root access, before entering their main() function.
|
||||||
|
|
||||||
If you are really paranoid and don't want even initial busybox code
|
If you are really paranoid and don't want even initial busybox code
|
||||||
to run under root for evey applet, build two busybox binaries with
|
to run under root for evey applet, build two busybox binaries with
|
||||||
different applets in them (and the appropriate symlinks pointing
|
different applets in them (and the appropriate symlinks pointing
|
||||||
to each binary), and only set the suid bit on the one that needs it.
|
to each binary), and only set the suid bit on the one that needs it.
|
||||||
|
|
||||||
Some applets which require root rights (need suid bit on the binary
|
Some applets which require root rights (need suid bit on the binary
|
||||||
or to be run by root) and will refuse to execute otherwise:
|
or to be run by root) and will refuse to execute otherwise:
|
||||||
crontab, login, passwd, su, vlock, wall.
|
crontab, login, passwd, su, vlock, wall.
|
||||||
|
|
||||||
The applets which will use root rights if they have them
|
The applets which will use root rights if they have them
|
||||||
(via suid bit, or because run by root), but would try to work
|
(via suid bit, or because run by root), but would try to work
|
||||||
without root right nevertheless:
|
without root right nevertheless:
|
||||||
findfs, ping[6], traceroute[6], mount.
|
findfs, ping[6], traceroute[6], mount.
|
||||||
|
|
||||||
Note that if you DO NOT select this option, but DO make busybox
|
Note that if you DO NOT select this option, but DO make busybox
|
||||||
suid root, ALL applets will run under root, which is a huge
|
suid root, ALL applets will run under root, which is a huge
|
||||||
security hole (think "cp /some/file /etc/passwd").
|
security hole (think "cp /some/file /etc/passwd").
|
||||||
|
|
||||||
config FEATURE_SUID_CONFIG
|
config FEATURE_SUID_CONFIG
|
||||||
bool "Enable SUID configuration via /etc/busybox.conf"
|
bool "Enable SUID configuration via /etc/busybox.conf"
|
||||||
default y
|
default y
|
||||||
depends on FEATURE_SUID
|
depends on FEATURE_SUID
|
||||||
help
|
help
|
||||||
Allow the SUID/SGID state of an applet to be determined at runtime
|
Allow the SUID/SGID state of an applet to be determined at runtime
|
||||||
by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
|
by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
|
||||||
The format of this file is as follows:
|
The format of this file is as follows:
|
||||||
|
|
||||||
APPLET = [Ssx-][Ssx-][x-] [USER.GROUP]
|
APPLET = [Ssx-][Ssx-][x-] [USER.GROUP]
|
||||||
|
|
||||||
s: USER or GROUP is allowed to execute APPLET.
|
s: USER or GROUP is allowed to execute APPLET.
|
||||||
APPLET will run under USER or GROUP
|
APPLET will run under USER or GROUP
|
||||||
(reagardless of who's running it).
|
(regardless of who's running it).
|
||||||
S: USER or GROUP is NOT allowed to execute APPLET.
|
S: USER or GROUP is NOT allowed to execute APPLET.
|
||||||
APPLET will run under USER or GROUP.
|
APPLET will run under USER or GROUP.
|
||||||
This option is not very sensical.
|
This option is not very sensical.
|
||||||
x: USER/GROUP/others are allowed to execute APPLET.
|
x: USER/GROUP/others are allowed to execute APPLET.
|
||||||
No UID/GID change will be done when it is run.
|
No UID/GID change will be done when it is run.
|
||||||
-: USER/GROUP/others are not allowed to execute APPLET.
|
-: USER/GROUP/others are not allowed to execute APPLET.
|
||||||
|
|
||||||
An example might help:
|
An example might help:
|
||||||
|
|
||||||
[SUID]
|
|[SUID]
|
||||||
su = ssx root.0 # applet su can be run by anyone and runs with
|
|su = ssx root.0 # applet su can be run by anyone and runs with
|
||||||
# euid=0,egid=0
|
| # euid=0,egid=0
|
||||||
su = ssx # exactly the same
|
|su = ssx # exactly the same
|
||||||
|
|
|
||||||
|
|mount = sx- root.disk # applet mount can be run by root and members
|
||||||
|
| # of group disk (but not anyone else)
|
||||||
|
| # and runs with euid=0 (egid is not changed)
|
||||||
|
|
|
||||||
|
|cp = --- # disable applet cp for everyone
|
||||||
|
|
||||||
mount = sx- root.disk # applet mount can be run by root and members
|
The file has to be owned by user root, group root and has to be
|
||||||
# of group disk (but not anyone else)
|
writeable only by root:
|
||||||
# and runs with euid=0 (egid is not changed)
|
(chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
|
||||||
|
The busybox executable has to be owned by user root, group
|
||||||
|
root and has to be setuid root for this to work:
|
||||||
|
(chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
|
||||||
|
|
||||||
cp = --- # disable applet cp for everyone
|
Robert 'sandman' Griebl has more information here:
|
||||||
|
<url: http://www.softforge.de/bb/suid.html >.
|
||||||
The file has to be owned by user root, group root and has to be
|
|
||||||
writeable only by root:
|
|
||||||
(chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
|
|
||||||
The busybox executable has to be owned by user root, group
|
|
||||||
root and has to be setuid root for this to work:
|
|
||||||
(chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
|
|
||||||
|
|
||||||
Robert 'sandman' Griebl has more information here:
|
|
||||||
<url: http://www.softforge.de/bb/suid.html >.
|
|
||||||
|
|
||||||
config FEATURE_SUID_CONFIG_QUIET
|
config FEATURE_SUID_CONFIG_QUIET
|
||||||
bool "Suppress warning message if /etc/busybox.conf is not readable"
|
bool "Suppress warning message if /etc/busybox.conf is not readable"
|
||||||
default y
|
default y
|
||||||
depends on FEATURE_SUID_CONFIG
|
depends on FEATURE_SUID_CONFIG
|
||||||
help
|
help
|
||||||
/etc/busybox.conf should be readable by the user needing the SUID,
|
/etc/busybox.conf should be readable by the user needing the SUID,
|
||||||
check this option to avoid users to be notified about missing
|
check this option to avoid users to be notified about missing
|
||||||
permissions.
|
permissions.
|
||||||
|
|
||||||
config FEATURE_PREFER_APPLETS
|
config FEATURE_PREFER_APPLETS
|
||||||
bool "exec prefers applets"
|
bool "exec prefers applets"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This is an experimental option which directs applets about to
|
This is an experimental option which directs applets about to
|
||||||
call 'exec' to try and find an applicable busybox applet before
|
call 'exec' to try and find an applicable busybox applet before
|
||||||
searching the PATH. This is typically done by exec'ing
|
searching the PATH. This is typically done by exec'ing
|
||||||
/proc/self/exe.
|
/proc/self/exe.
|
||||||
|
|
||||||
This may affect shell, find -exec, xargs and similar applets.
|
This may affect shell, find -exec, xargs and similar applets.
|
||||||
They will use applets even if /bin/APPLET -> busybox link
|
They will use applets even if /bin/APPLET -> busybox link
|
||||||
is missing (or is not a link to busybox). However, this causes
|
is missing (or is not a link to busybox). However, this causes
|
||||||
problems in chroot jails without mounted /proc and with ps/top
|
problems in chroot jails without mounted /proc and with ps/top
|
||||||
(command name can be shown as 'exe' for applets started this way).
|
(command name can be shown as 'exe' for applets started this way).
|
||||||
|
|
||||||
config BUSYBOX_EXEC_PATH
|
config BUSYBOX_EXEC_PATH
|
||||||
string "Path to BusyBox executable"
|
string "Path to BusyBox executable"
|
||||||
default "/proc/self/exe"
|
default "/proc/self/exe"
|
||||||
help
|
help
|
||||||
When Busybox applets need to run other busybox applets, BusyBox
|
When Busybox applets need to run other busybox applets, BusyBox
|
||||||
sometimes needs to exec() itself. When the /proc filesystem is
|
sometimes needs to exec() itself. When the /proc filesystem is
|
||||||
mounted, /proc/self/exe always points to the currently running
|
mounted, /proc/self/exe always points to the currently running
|
||||||
executable. If you haven't got /proc, set this to wherever you
|
executable. If you haven't got /proc, set this to wherever you
|
||||||
want to run BusyBox from.
|
want to run BusyBox from.
|
||||||
|
|
||||||
config SELINUX
|
config SELINUX
|
||||||
bool "Support NSA Security Enhanced Linux"
|
bool "Support NSA Security Enhanced Linux"
|
||||||
default n
|
default n
|
||||||
select PLATFORM_LINUX
|
select PLATFORM_LINUX
|
||||||
help
|
help
|
||||||
Enable support for SELinux in applets ls, ps, and id. Also provide
|
Enable support for SELinux in applets ls, ps, and id. Also provide
|
||||||
the option of compiling in SELinux applets.
|
the option of compiling in SELinux applets.
|
||||||
|
|
||||||
If you do not have a complete SELinux userland installed, this stuff
|
If you do not have a complete SELinux userland installed, this stuff
|
||||||
will not compile. Specifially, libselinux 1.28 or better is
|
will not compile. Specifially, libselinux 1.28 or better is
|
||||||
directly required by busybox. If the installation is located in a
|
directly required by busybox. If the installation is located in a
|
||||||
non-standard directory, provide it by invoking make as follows:
|
non-standard directory, provide it by invoking make as follows:
|
||||||
|
|
||||||
CFLAGS=-I<libselinux-include-path> \
|
CFLAGS=-I<libselinux-include-path> \
|
||||||
LDFLAGS=-L<libselinux-lib-path> \
|
LDFLAGS=-L<libselinux-lib-path> \
|
||||||
make
|
make
|
||||||
|
|
||||||
Most people will leave this set to 'N'.
|
Most people will leave this set to 'N'.
|
||||||
|
|
||||||
config FEATURE_CLEAN_UP
|
config FEATURE_CLEAN_UP
|
||||||
bool "Clean up all memory before exiting (usually not needed)"
|
bool "Clean up all memory before exiting (usually not needed)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
As a size optimization, busybox normally exits without explicitly
|
As a size optimization, busybox normally exits without explicitly
|
||||||
freeing dynamically allocated memory or closing files. This saves
|
freeing dynamically allocated memory or closing files. This saves
|
||||||
space since the OS will clean up for us, but it can confuse debuggers
|
space since the OS will clean up for us, but it can confuse debuggers
|
||||||
like valgrind, which report tons of memory and resource leaks.
|
like valgrind, which report tons of memory and resource leaks.
|
||||||
|
|
||||||
Don't enable this unless you have a really good reason to clean
|
Don't enable this unless you have a really good reason to clean
|
||||||
things up manually.
|
things up manually.
|
||||||
|
|
||||||
# These are auto-selected by other options
|
# These are auto-selected by other options
|
||||||
|
|
||||||
@ -330,26 +330,26 @@ config FEATURE_SYSLOG
|
|||||||
bool #No description makes it a hidden option
|
bool #No description makes it a hidden option
|
||||||
default n
|
default n
|
||||||
#help
|
#help
|
||||||
# This option is auto-selected when you select any applet which may
|
#This option is auto-selected when you select any applet which may
|
||||||
# send its output to syslog. You do not need to select it manually.
|
#send its output to syslog. You do not need to select it manually.
|
||||||
|
|
||||||
config FEATURE_HAVE_RPC
|
config FEATURE_HAVE_RPC
|
||||||
bool #No description makes it a hidden option
|
bool #No description makes it a hidden option
|
||||||
default n
|
default n
|
||||||
#help
|
#help
|
||||||
# This is automatically selected if any of enabled applets need it.
|
#This is automatically selected if any of enabled applets need it.
|
||||||
# You do not need to select it manually.
|
#You do not need to select it manually.
|
||||||
|
|
||||||
config PLATFORM_LINUX
|
config PLATFORM_LINUX
|
||||||
bool #No description makes it a hidden option
|
bool #No description makes it a hidden option
|
||||||
default n
|
default n
|
||||||
#help
|
#help
|
||||||
# For the most part, busybox requires only POSIX compatibility
|
#For the most part, busybox requires only POSIX compatibility
|
||||||
# from the target system, but some applets and features use
|
#from the target system, but some applets and features use
|
||||||
# Linux-specific interfaces.
|
#Linux-specific interfaces.
|
||||||
#
|
#
|
||||||
# This is automatically selected if any applet or feature requires
|
#This is automatically selected if any applet or feature requires
|
||||||
# Linux-specific interfaces. You do not need to select it manually.
|
#Linux-specific interfaces. You do not need to select it manually.
|
||||||
|
|
||||||
comment 'Build Options'
|
comment 'Build Options'
|
||||||
|
|
||||||
@ -357,37 +357,37 @@ config STATIC
|
|||||||
bool "Build BusyBox as a static binary (no shared libs)"
|
bool "Build BusyBox as a static binary (no shared libs)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If you want to build a static BusyBox binary, which does not
|
If you want to build a static BusyBox binary, which does not
|
||||||
use or require any shared libraries, then enable this option.
|
use or require any shared libraries, then enable this option.
|
||||||
This can cause BusyBox to be considerably larger, so you should
|
This can cause BusyBox to be considerably larger, so you should
|
||||||
leave this option false unless you have a good reason (i.e.
|
leave this option false unless you have a good reason (i.e.
|
||||||
your target platform does not support shared libraries, or
|
your target platform does not support shared libraries, or
|
||||||
you are building an initrd which doesn't need anything but
|
you are building an initrd which doesn't need anything but
|
||||||
BusyBox, etc).
|
BusyBox, etc).
|
||||||
|
|
||||||
Most people will leave this set to 'N'.
|
Most people will leave this set to 'N'.
|
||||||
|
|
||||||
config PIE
|
config PIE
|
||||||
bool "Build BusyBox as a position independent executable"
|
bool "Build BusyBox as a position independent executable"
|
||||||
default n
|
default n
|
||||||
depends on !STATIC
|
depends on !STATIC
|
||||||
help
|
help
|
||||||
Hardened code option. PIE binaries are loaded at a different
|
Hardened code option. PIE binaries are loaded at a different
|
||||||
address at each invocation. This has some overhead,
|
address at each invocation. This has some overhead,
|
||||||
particularly on x86-32 which is short on registers.
|
particularly on x86-32 which is short on registers.
|
||||||
|
|
||||||
Most people will leave this set to 'N'.
|
Most people will leave this set to 'N'.
|
||||||
|
|
||||||
config NOMMU
|
config NOMMU
|
||||||
bool "Force NOMMU build"
|
bool "Force NOMMU build"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Busybox tries to detect whether architecture it is being
|
Busybox tries to detect whether architecture it is being
|
||||||
built against supports MMU or not. If this detection fails,
|
built against supports MMU or not. If this detection fails,
|
||||||
or if you want to build NOMMU version of busybox for testing,
|
or if you want to build NOMMU version of busybox for testing,
|
||||||
you may force NOMMU build here.
|
you may force NOMMU build here.
|
||||||
|
|
||||||
Most people will leave this set to 'N'.
|
Most people will leave this set to 'N'.
|
||||||
|
|
||||||
# PIE can be made to work with BUILD_LIBBUSYBOX, but currently
|
# PIE can be made to work with BUILD_LIBBUSYBOX, but currently
|
||||||
# build system does not support that
|
# build system does not support that
|
||||||
@ -396,128 +396,128 @@ config BUILD_LIBBUSYBOX
|
|||||||
default n
|
default n
|
||||||
depends on !FEATURE_PREFER_APPLETS && !PIE && !STATIC
|
depends on !FEATURE_PREFER_APPLETS && !PIE && !STATIC
|
||||||
help
|
help
|
||||||
Build a shared library libbusybox.so.N.N.N which contains all
|
Build a shared library libbusybox.so.N.N.N which contains all
|
||||||
busybox code.
|
busybox code.
|
||||||
|
|
||||||
This feature allows every applet to be built as a really tiny
|
This feature allows every applet to be built as a really tiny
|
||||||
separate executable linked against the library:
|
separate executable linked against the library:
|
||||||
$ size 0_lib/l*
|
|$ size 0_lib/l*
|
||||||
text data bss dec hex filename
|
| text data bss dec hex filename
|
||||||
939 212 28 1179 49b 0_lib/last
|
| 939 212 28 1179 49b 0_lib/last
|
||||||
939 212 28 1179 49b 0_lib/less
|
| 939 212 28 1179 49b 0_lib/less
|
||||||
919138 8328 1556 929022 e2cfe 0_lib/libbusybox.so.1.N.M
|
| 919138 8328 1556 929022 e2cfe 0_lib/libbusybox.so.1.N.M
|
||||||
|
|
||||||
This is useful on NOMMU systems which are not capable
|
This is useful on NOMMU systems which are not capable
|
||||||
of sharing executables, but are capable of sharing code
|
of sharing executables, but are capable of sharing code
|
||||||
in dynamic libraries.
|
in dynamic libraries.
|
||||||
|
|
||||||
config FEATURE_LIBBUSYBOX_STATIC
|
config FEATURE_LIBBUSYBOX_STATIC
|
||||||
bool "Pull in all external references into libbusybox"
|
bool "Pull in all external references into libbusybox"
|
||||||
default n
|
default n
|
||||||
depends on BUILD_LIBBUSYBOX
|
depends on BUILD_LIBBUSYBOX
|
||||||
help
|
help
|
||||||
Make libbusybox library independent, not using or requiring
|
Make libbusybox library independent, not using or requiring
|
||||||
any other shared libraries.
|
any other shared libraries.
|
||||||
|
|
||||||
config FEATURE_INDIVIDUAL
|
config FEATURE_INDIVIDUAL
|
||||||
bool "Produce a binary for each applet, linked against libbusybox"
|
bool "Produce a binary for each applet, linked against libbusybox"
|
||||||
default y
|
default y
|
||||||
depends on BUILD_LIBBUSYBOX
|
depends on BUILD_LIBBUSYBOX
|
||||||
help
|
help
|
||||||
If your CPU architecture doesn't allow for sharing text/rodata
|
If your CPU architecture doesn't allow for sharing text/rodata
|
||||||
sections of running binaries, but allows for runtime dynamic
|
sections of running binaries, but allows for runtime dynamic
|
||||||
libraries, this option will allow you to reduce memory footprint
|
libraries, this option will allow you to reduce memory footprint
|
||||||
when you have many different applets running at once.
|
when you have many different applets running at once.
|
||||||
|
|
||||||
If your CPU architecture allows for sharing text/rodata,
|
If your CPU architecture allows for sharing text/rodata,
|
||||||
having single binary is more optimal.
|
having single binary is more optimal.
|
||||||
|
|
||||||
Each applet will be a tiny program, dynamically linked
|
Each applet will be a tiny program, dynamically linked
|
||||||
against libbusybox.so.N.N.N.
|
against libbusybox.so.N.N.N.
|
||||||
|
|
||||||
You need to have a working dynamic linker.
|
You need to have a working dynamic linker.
|
||||||
|
|
||||||
config FEATURE_SHARED_BUSYBOX
|
config FEATURE_SHARED_BUSYBOX
|
||||||
bool "Produce additional busybox binary linked against libbusybox"
|
bool "Produce additional busybox binary linked against libbusybox"
|
||||||
default y
|
default y
|
||||||
depends on BUILD_LIBBUSYBOX
|
depends on BUILD_LIBBUSYBOX
|
||||||
help
|
help
|
||||||
Build busybox, dynamically linked against libbusybox.so.N.N.N.
|
Build busybox, dynamically linked against libbusybox.so.N.N.N.
|
||||||
|
|
||||||
You need to have a working dynamic linker.
|
You need to have a working dynamic linker.
|
||||||
|
|
||||||
### config BUILD_AT_ONCE
|
### config BUILD_AT_ONCE
|
||||||
### bool "Compile all sources at once"
|
### bool "Compile all sources at once"
|
||||||
### default n
|
### default n
|
||||||
### help
|
### help
|
||||||
### Normally each source-file is compiled with one invocation of
|
### Normally each source-file is compiled with one invocation of
|
||||||
### the compiler.
|
### the compiler.
|
||||||
### If you set this option, all sources are compiled at once.
|
### If you set this option, all sources are compiled at once.
|
||||||
### This gives the compiler more opportunities to optimize which can
|
### This gives the compiler more opportunities to optimize which can
|
||||||
### result in smaller and/or faster binaries.
|
### result in smaller and/or faster binaries.
|
||||||
###
|
###
|
||||||
### Setting this option will consume alot of memory, e.g. if you
|
### Setting this option will consume alot of memory, e.g. if you
|
||||||
### enable all applets with all features, gcc uses more than 300MB
|
### enable all applets with all features, gcc uses more than 300MB
|
||||||
### RAM during compilation of busybox.
|
### RAM during compilation of busybox.
|
||||||
###
|
###
|
||||||
### This option is most likely only beneficial for newer compilers
|
### This option is most likely only beneficial for newer compilers
|
||||||
### such as gcc-4.1 and above.
|
### such as gcc-4.1 and above.
|
||||||
###
|
###
|
||||||
### Say 'N' unless you know what you are doing.
|
### Say 'N' unless you know what you are doing.
|
||||||
|
|
||||||
config CROSS_COMPILER_PREFIX
|
config CROSS_COMPILER_PREFIX
|
||||||
string "Cross Compiler prefix"
|
string "Cross Compiler prefix"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
If you want to build BusyBox with a cross compiler, then you
|
If you want to build BusyBox with a cross compiler, then you
|
||||||
will need to set this to the cross-compiler prefix, for example,
|
will need to set this to the cross-compiler prefix, for example,
|
||||||
"i386-uclibc-".
|
"i386-uclibc-".
|
||||||
|
|
||||||
Note that CROSS_COMPILE environment variable or
|
Note that CROSS_COMPILE environment variable or
|
||||||
"make CROSS_COMPILE=xxx ..." will override this selection.
|
"make CROSS_COMPILE=xxx ..." will override this selection.
|
||||||
|
|
||||||
Native builds leave this empty.
|
Native builds leave this empty.
|
||||||
|
|
||||||
config SYSROOT
|
config SYSROOT
|
||||||
string "Path to sysroot"
|
string "Path to sysroot"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
If you want to build BusyBox with a cross compiler, then you
|
If you want to build BusyBox with a cross compiler, then you
|
||||||
might also need to specify where /usr/include and /usr/lib
|
might also need to specify where /usr/include and /usr/lib
|
||||||
will be found.
|
will be found.
|
||||||
|
|
||||||
For example, BusyBox can be built against an installed
|
For example, BusyBox can be built against an installed
|
||||||
Android NDK, platform version 9, for ARM ABI with
|
Android NDK, platform version 9, for ARM ABI with
|
||||||
|
|
||||||
CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm
|
CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm
|
||||||
|
|
||||||
Native builds leave this empty.
|
Native builds leave this empty.
|
||||||
|
|
||||||
config EXTRA_CFLAGS
|
config EXTRA_CFLAGS
|
||||||
string "Additional CFLAGS"
|
string "Additional CFLAGS"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
Additional CFLAGS to pass to the compiler verbatim.
|
Additional CFLAGS to pass to the compiler verbatim.
|
||||||
|
|
||||||
config EXTRA_LDFLAGS
|
config EXTRA_LDFLAGS
|
||||||
string "Additional LDFLAGS"
|
string "Additional LDFLAGS"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
Additional LDFLAGS to pass to the linker verbatim.
|
Additional LDFLAGS to pass to the linker verbatim.
|
||||||
|
|
||||||
config EXTRA_LDLIBS
|
config EXTRA_LDLIBS
|
||||||
string "Additional LDLIBS"
|
string "Additional LDLIBS"
|
||||||
default ""
|
default ""
|
||||||
help
|
help
|
||||||
Additional LDLIBS to pass to the linker with -l.
|
Additional LDLIBS to pass to the linker with -l.
|
||||||
|
|
||||||
config USE_PORTABLE_CODE
|
config USE_PORTABLE_CODE
|
||||||
bool "Avoid using GCC-specific code constructs"
|
bool "Avoid using GCC-specific code constructs"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Use this option if you are trying to compile busybox with
|
Use this option if you are trying to compile busybox with
|
||||||
compiler other than gcc.
|
compiler other than gcc.
|
||||||
If you do use gcc, this option may needlessly increase code size.
|
If you do use gcc, this option may needlessly increase code size.
|
||||||
|
|
||||||
comment 'Installation Options ("make install" behavior)'
|
comment 'Installation Options ("make install" behavior)'
|
||||||
|
|
||||||
@ -525,32 +525,32 @@ choice
|
|||||||
prompt "What kind of applet links to install"
|
prompt "What kind of applet links to install"
|
||||||
default INSTALL_APPLET_SYMLINKS
|
default INSTALL_APPLET_SYMLINKS
|
||||||
help
|
help
|
||||||
Choose what kind of links to applets are created by "make install".
|
Choose what kind of links to applets are created by "make install".
|
||||||
|
|
||||||
config INSTALL_APPLET_SYMLINKS
|
config INSTALL_APPLET_SYMLINKS
|
||||||
bool "as soft-links"
|
bool "as soft-links"
|
||||||
help
|
help
|
||||||
Install applets as soft-links to the busybox binary. This needs some
|
Install applets as soft-links to the busybox binary. This needs some
|
||||||
free inodes on the filesystem, but might help with filesystem
|
free inodes on the filesystem, but might help with filesystem
|
||||||
generators that can't cope with hard-links.
|
generators that can't cope with hard-links.
|
||||||
|
|
||||||
config INSTALL_APPLET_HARDLINKS
|
config INSTALL_APPLET_HARDLINKS
|
||||||
bool "as hard-links"
|
bool "as hard-links"
|
||||||
help
|
help
|
||||||
Install applets as hard-links to the busybox binary. This might
|
Install applets as hard-links to the busybox binary. This might
|
||||||
count on a filesystem with few inodes.
|
count on a filesystem with few inodes.
|
||||||
|
|
||||||
config INSTALL_APPLET_SCRIPT_WRAPPERS
|
config INSTALL_APPLET_SCRIPT_WRAPPERS
|
||||||
bool "as script wrappers"
|
bool "as script wrappers"
|
||||||
help
|
help
|
||||||
Install applets as script wrappers that call the busybox binary.
|
Install applets as script wrappers that call the busybox binary.
|
||||||
|
|
||||||
config INSTALL_APPLET_DONT
|
config INSTALL_APPLET_DONT
|
||||||
bool "not installed"
|
bool "not installed"
|
||||||
help
|
help
|
||||||
Do not install applet links. Useful when you plan to use
|
Do not install applet links. Useful when you plan to use
|
||||||
busybox --install for installing links, or plan to use
|
busybox --install for installing links, or plan to use
|
||||||
a standalone shell and thus don't need applet links.
|
a standalone shell and thus don't need applet links.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
@ -559,23 +559,23 @@ choice
|
|||||||
default INSTALL_SH_APPLET_SYMLINK
|
default INSTALL_SH_APPLET_SYMLINK
|
||||||
depends on INSTALL_APPLET_SCRIPT_WRAPPERS
|
depends on INSTALL_APPLET_SCRIPT_WRAPPERS
|
||||||
help
|
help
|
||||||
Choose how you install /bin/sh applet link.
|
Choose how you install /bin/sh applet link.
|
||||||
|
|
||||||
config INSTALL_SH_APPLET_SYMLINK
|
config INSTALL_SH_APPLET_SYMLINK
|
||||||
bool "as soft-link"
|
bool "as soft-link"
|
||||||
help
|
help
|
||||||
Install /bin/sh applet as soft-link to the busybox binary.
|
Install /bin/sh applet as soft-link to the busybox binary.
|
||||||
|
|
||||||
config INSTALL_SH_APPLET_HARDLINK
|
config INSTALL_SH_APPLET_HARDLINK
|
||||||
bool "as hard-link"
|
bool "as hard-link"
|
||||||
help
|
help
|
||||||
Install /bin/sh applet as hard-link to the busybox binary.
|
Install /bin/sh applet as hard-link to the busybox binary.
|
||||||
|
|
||||||
config INSTALL_SH_APPLET_SCRIPT_WRAPPER
|
config INSTALL_SH_APPLET_SCRIPT_WRAPPER
|
||||||
bool "as script wrapper"
|
bool "as script wrapper"
|
||||||
help
|
help
|
||||||
Install /bin/sh applet as script wrapper that calls
|
Install /bin/sh applet as script wrapper that calls
|
||||||
the busybox binary.
|
the busybox binary.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
@ -583,7 +583,7 @@ config PREFIX
|
|||||||
string "BusyBox installation prefix"
|
string "BusyBox installation prefix"
|
||||||
default "./_install"
|
default "./_install"
|
||||||
help
|
help
|
||||||
Define your directory to install BusyBox files/subdirs in.
|
Define your directory to install BusyBox files/subdirs in.
|
||||||
|
|
||||||
comment 'Debugging Options'
|
comment 'Debugging Options'
|
||||||
|
|
||||||
@ -591,81 +591,81 @@ config DEBUG
|
|||||||
bool "Build BusyBox with extra Debugging symbols"
|
bool "Build BusyBox with extra Debugging symbols"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say Y here if you wish to examine BusyBox internals while applets are
|
Say Y here if you wish to examine BusyBox internals while applets are
|
||||||
running. This increases the size of the binary considerably, and
|
running. This increases the size of the binary considerably, and
|
||||||
should only be used when doing development. If you are doing
|
should only be used when doing development. If you are doing
|
||||||
development and want to debug BusyBox, answer Y.
|
development and want to debug BusyBox, answer Y.
|
||||||
|
|
||||||
Most people should answer N.
|
Most people should answer N.
|
||||||
|
|
||||||
config DEBUG_PESSIMIZE
|
config DEBUG_PESSIMIZE
|
||||||
bool "Disable compiler optimizations"
|
bool "Disable compiler optimizations"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG
|
depends on DEBUG
|
||||||
help
|
help
|
||||||
The compiler's optimization of source code can eliminate and reorder
|
The compiler's optimization of source code can eliminate and reorder
|
||||||
code, resulting in an executable that's hard to understand when
|
code, resulting in an executable that's hard to understand when
|
||||||
stepping through it with a debugger. This switches it off, resulting
|
stepping through it with a debugger. This switches it off, resulting
|
||||||
in a much bigger executable that more closely matches the source
|
in a much bigger executable that more closely matches the source
|
||||||
code.
|
code.
|
||||||
|
|
||||||
config DEBUG_SANITIZE
|
config DEBUG_SANITIZE
|
||||||
bool "Enable runtime sanitizers (ASAN/LSAN/USAN/etc...)"
|
bool "Enable runtime sanitizers (ASAN/LSAN/USAN/etc...)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say Y here if you want to enable runtime sanitizers. These help
|
Say Y here if you want to enable runtime sanitizers. These help
|
||||||
catch bad memory accesses (e.g. buffer overflows), but will make
|
catch bad memory accesses (e.g. buffer overflows), but will make
|
||||||
the executable larger and slow down runtime a bit.
|
the executable larger and slow down runtime a bit.
|
||||||
|
|
||||||
This adds -fsanitize=foo options to gcc command line.
|
This adds -fsanitize=foo options to gcc command line.
|
||||||
|
|
||||||
If you aren't developing/testing busybox, say N here.
|
If you aren't developing/testing busybox, say N here.
|
||||||
|
|
||||||
config UNIT_TEST
|
config UNIT_TEST
|
||||||
bool "Build unit tests"
|
bool "Build unit tests"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Say Y here if you want to build unit tests (both the framework and
|
Say Y here if you want to build unit tests (both the framework and
|
||||||
test cases) as a Busybox applet. This results in bigger code, so you
|
test cases) as a Busybox applet. This results in bigger code, so you
|
||||||
probably don't want this option in production builds.
|
probably don't want this option in production builds.
|
||||||
|
|
||||||
config WERROR
|
config WERROR
|
||||||
bool "Abort compilation on any warning"
|
bool "Abort compilation on any warning"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
This adds -Werror to gcc command line.
|
This adds -Werror to gcc command line.
|
||||||
|
|
||||||
Most people should answer N.
|
Most people should answer N.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Additional debugging library"
|
prompt "Additional debugging library"
|
||||||
default NO_DEBUG_LIB
|
default NO_DEBUG_LIB
|
||||||
help
|
help
|
||||||
Using an additional debugging library will make BusyBox become
|
Using an additional debugging library will make BusyBox become
|
||||||
considerable larger and will cause it to run more slowly. You
|
considerable larger and will cause it to run more slowly. You
|
||||||
should always leave this option disabled for production use.
|
should always leave this option disabled for production use.
|
||||||
|
|
||||||
dmalloc support:
|
dmalloc support:
|
||||||
----------------
|
----------------
|
||||||
This enables compiling with dmalloc ( http://dmalloc.com/ )
|
This enables compiling with dmalloc ( http://dmalloc.com/ )
|
||||||
which is an excellent public domain mem leak and malloc problem
|
which is an excellent public domain mem leak and malloc problem
|
||||||
detector. To enable dmalloc, before running busybox you will
|
detector. To enable dmalloc, before running busybox you will
|
||||||
want to properly set your environment, for example:
|
want to properly set your environment, for example:
|
||||||
export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
|
export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
|
||||||
The 'debug=' value is generated using the following command
|
The 'debug=' value is generated using the following command
|
||||||
dmalloc -p log-stats -p log-non-free -p log-bad-space \
|
dmalloc -p log-stats -p log-non-free -p log-bad-space \
|
||||||
-p log-elapsed-time -p check-fence -p check-heap \
|
-p log-elapsed-time -p check-fence -p check-heap \
|
||||||
-p check-lists -p check-blank -p check-funcs -p realloc-copy \
|
-p check-lists -p check-blank -p check-funcs -p realloc-copy \
|
||||||
-p allow-free-null
|
-p allow-free-null
|
||||||
|
|
||||||
Electric-fence support:
|
Electric-fence support:
|
||||||
-----------------------
|
-----------------------
|
||||||
This enables compiling with Electric-fence support. Electric
|
This enables compiling with Electric-fence support. Electric
|
||||||
fence is another very useful malloc debugging library which uses
|
fence is another very useful malloc debugging library which uses
|
||||||
your computer's virtual memory hardware to detect illegal memory
|
your computer's virtual memory hardware to detect illegal memory
|
||||||
accesses. This support will make BusyBox be considerable larger
|
accesses. This support will make BusyBox be considerable larger
|
||||||
and run slower, so you should leave this option disabled unless
|
and run slower, so you should leave this option disabled unless
|
||||||
you are hunting a hard to find memory problem.
|
you are hunting a hard to find memory problem.
|
||||||
|
|
||||||
|
|
||||||
config NO_DEBUG_LIB
|
config NO_DEBUG_LIB
|
||||||
|
@ -32,7 +32,7 @@ config FEATURE_LZMA_FAST
|
|||||||
default n
|
default n
|
||||||
depends on UNLZMA || LZCAT || LZMA || FEATURE_SEAMLESS_LZMA
|
depends on UNLZMA || LZCAT || LZMA || FEATURE_SEAMLESS_LZMA
|
||||||
help
|
help
|
||||||
This option reduces decompression time by about 25% at the cost of
|
This option reduces decompression time by about 25% at the cost of
|
||||||
a 1K bigger binary.
|
a 1K bigger binary.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -21,29 +21,29 @@
|
|||||||
//config: bool "ar (9.5 kb)"
|
//config: bool "ar (9.5 kb)"
|
||||||
//config: default n # needs to be improved to be able to replace binutils ar
|
//config: default n # needs to be improved to be able to replace binutils ar
|
||||||
//config: help
|
//config: help
|
||||||
//config: ar is an archival utility program used to create, modify, and
|
//config: ar is an archival utility program used to create, modify, and
|
||||||
//config: extract contents from archives. In practice, it is used exclusively
|
//config: extract contents from archives. In practice, it is used exclusively
|
||||||
//config: for object module archives used by compilers.
|
//config: for object module archives used by compilers.
|
||||||
//config:
|
//config:
|
||||||
//config: Unless you have a specific application which requires ar, you should
|
//config: Unless you have a specific application which requires ar, you should
|
||||||
//config: probably say N here: most compilers come with their own ar utility.
|
//config: probably say N here: most compilers come with their own ar utility.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_AR_LONG_FILENAMES
|
//config:config FEATURE_AR_LONG_FILENAMES
|
||||||
//config: bool "Support long filenames (not needed for debs)"
|
//config: bool "Support long filenames (not needed for debs)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on AR
|
//config: depends on AR
|
||||||
//config: help
|
//config: help
|
||||||
//config: By default the ar format can only store the first 15 characters
|
//config: By default the ar format can only store the first 15 characters
|
||||||
//config: of the filename, this option removes that limitation.
|
//config: of the filename, this option removes that limitation.
|
||||||
//config: It supports the GNU ar long filename method which moves multiple long
|
//config: It supports the GNU ar long filename method which moves multiple long
|
||||||
//config: filenames into a the data section of a new ar entry.
|
//config: filenames into a the data section of a new ar entry.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_AR_CREATE
|
//config:config FEATURE_AR_CREATE
|
||||||
//config: bool "Support archive creation"
|
//config: bool "Support archive creation"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on AR
|
//config: depends on AR
|
||||||
//config: help
|
//config: help
|
||||||
//config: This enables archive creation (-c and -r) with busybox ar.
|
//config: This enables archive creation (-c and -r) with busybox ar.
|
||||||
|
|
||||||
//applet:IF_AR(APPLET(ar, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_AR(APPLET(ar, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_AR) += ar.o
|
//kbuild:lib-$(CONFIG_AR) += ar.o
|
||||||
|
@ -240,8 +240,8 @@ char* FAST_FUNC make_new_name_generic(char *filename, const char *expected_ext)
|
|||||||
//config: bool "uncompress (7.1 kb)"
|
//config: bool "uncompress (7.1 kb)"
|
||||||
//config: default n # ancient
|
//config: default n # ancient
|
||||||
//config: help
|
//config: help
|
||||||
//config: uncompress is used to decompress archives created by compress.
|
//config: uncompress is used to decompress archives created by compress.
|
||||||
//config: Not much used anymore, replaced by gzip/gunzip.
|
//config: Not much used anymore, replaced by gzip/gunzip.
|
||||||
|
|
||||||
//applet:IF_UNCOMPRESS(APPLET(uncompress, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_UNCOMPRESS(APPLET(uncompress, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_UNCOMPRESS) += bbunzip.o
|
//kbuild:lib-$(CONFIG_UNCOMPRESS) += bbunzip.o
|
||||||
@ -316,16 +316,16 @@ int uncompress_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_GZIP_DECOMPRESS
|
//config: select FEATURE_GZIP_DECOMPRESS
|
||||||
//config: help
|
//config: help
|
||||||
//config: gunzip is used to decompress archives created by gzip.
|
//config: gunzip is used to decompress archives created by gzip.
|
||||||
//config: You can use the `-t' option to test the integrity of
|
//config: You can use the `-t' option to test the integrity of
|
||||||
//config: an archive, without decompressing it.
|
//config: an archive, without decompressing it.
|
||||||
//config:
|
//config:
|
||||||
//config:config ZCAT
|
//config:config ZCAT
|
||||||
//config: bool "zcat (25 kb)"
|
//config: bool "zcat (25 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_GZIP_DECOMPRESS
|
//config: select FEATURE_GZIP_DECOMPRESS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "gunzip -c".
|
//config: Alias to "gunzip -c".
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_GUNZIP_LONG_OPTIONS
|
//config:config FEATURE_GUNZIP_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
@ -429,21 +429,21 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_BZIP2_DECOMPRESS
|
//config: select FEATURE_BZIP2_DECOMPRESS
|
||||||
//config: help
|
//config: help
|
||||||
//config: bunzip2 is a compression utility using the Burrows-Wheeler block
|
//config: bunzip2 is a compression utility using the Burrows-Wheeler block
|
||||||
//config: sorting text compression algorithm, and Huffman coding. Compression
|
//config: sorting text compression algorithm, and Huffman coding. Compression
|
||||||
//config: is generally considerably better than that achieved by more
|
//config: is generally considerably better than that achieved by more
|
||||||
//config: conventional LZ77/LZ78-based compressors, and approaches the
|
//config: conventional LZ77/LZ78-based compressors, and approaches the
|
||||||
//config: performance of the PPM family of statistical compressors.
|
//config: performance of the PPM family of statistical compressors.
|
||||||
//config:
|
//config:
|
||||||
//config: Unless you have a specific application which requires bunzip2, you
|
//config: Unless you have a specific application which requires bunzip2, you
|
||||||
//config: should probably say N here.
|
//config: should probably say N here.
|
||||||
//config:
|
//config:
|
||||||
//config:config BZCAT
|
//config:config BZCAT
|
||||||
//config: bool "bzcat (8.8 kb)"
|
//config: bool "bzcat (8.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_BZIP2_DECOMPRESS
|
//config: select FEATURE_BZIP2_DECOMPRESS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "bunzip2 -c".
|
//config: Alias to "bunzip2 -c".
|
||||||
|
|
||||||
//applet:IF_BUNZIP2(APPLET(bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_BUNZIP2(APPLET(bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
@ -496,23 +496,23 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: bool "unlzma (8.6 kb)"
|
//config: bool "unlzma (8.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: unlzma is a compression utility using the Lempel-Ziv-Markov chain
|
//config: unlzma is a compression utility using the Lempel-Ziv-Markov chain
|
||||||
//config: compression algorithm, and range coding. Compression
|
//config: compression algorithm, and range coding. Compression
|
||||||
//config: is generally considerably better than that achieved by the bzip2
|
//config: is generally considerably better than that achieved by the bzip2
|
||||||
//config: compressors.
|
//config: compressors.
|
||||||
//config:
|
//config:
|
||||||
//config:config LZCAT
|
//config:config LZCAT
|
||||||
//config: bool "lzcat (8.5 kb)"
|
//config: bool "lzcat (8.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "unlzma -c".
|
//config: Alias to "unlzma -c".
|
||||||
//config:
|
//config:
|
||||||
//config:config LZMA
|
//config:config LZMA
|
||||||
//config: bool "lzma -d"
|
//config: bool "lzma -d"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable this option if you want commands like "lzma -d" to work.
|
//config: Enable this option if you want commands like "lzma -d" to work.
|
||||||
//config: IOW: you'll get lzma applet, but it will always require -d option.
|
//config: IOW: you'll get lzma applet, but it will always require -d option.
|
||||||
|
|
||||||
//applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
@ -567,20 +567,20 @@ int unlzma_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: bool "unxz (13 kb)"
|
//config: bool "unxz (13 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: unxz is a unlzma successor.
|
//config: unxz is a unlzma successor.
|
||||||
//config:
|
//config:
|
||||||
//config:config XZCAT
|
//config:config XZCAT
|
||||||
//config: bool "xzcat (13 kb)"
|
//config: bool "xzcat (13 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "unxz -c".
|
//config: Alias to "unxz -c".
|
||||||
//config:
|
//config:
|
||||||
//config:config XZ
|
//config:config XZ
|
||||||
//config: bool "xz -d"
|
//config: bool "xz -d"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable this option if you want commands like "xz -d" to work.
|
//config: Enable this option if you want commands like "xz -d" to work.
|
||||||
//config: IOW: you'll get xz applet, but it will always require -d option.
|
//config: IOW: you'll get xz applet, but it will always require -d option.
|
||||||
|
|
||||||
//applet:IF_UNXZ(APPLET(unxz, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_UNXZ(APPLET(unxz, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
@ -11,23 +11,23 @@
|
|||||||
//config: bool "bzip2 (18 kb)"
|
//config: bool "bzip2 (18 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: bzip2 is a compression utility using the Burrows-Wheeler block
|
//config: bzip2 is a compression utility using the Burrows-Wheeler block
|
||||||
//config: sorting text compression algorithm, and Huffman coding. Compression
|
//config: sorting text compression algorithm, and Huffman coding. Compression
|
||||||
//config: is generally considerably better than that achieved by more
|
//config: is generally considerably better than that achieved by more
|
||||||
//config: conventional LZ77/LZ78-based compressors, and approaches the
|
//config: conventional LZ77/LZ78-based compressors, and approaches the
|
||||||
//config: performance of the PPM family of statistical compressors.
|
//config: performance of the PPM family of statistical compressors.
|
||||||
//config:
|
//config:
|
||||||
//config: Unless you have a specific application which requires bzip2, you
|
//config: Unless you have a specific application which requires bzip2, you
|
||||||
//config: should probably say N here.
|
//config: should probably say N here.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_BZIP2_DECOMPRESS
|
//config:config FEATURE_BZIP2_DECOMPRESS
|
||||||
//config: bool "Enable decompression"
|
//config: bool "Enable decompression"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on BZIP2 || BUNZIP2 || BZCAT
|
//config: depends on BZIP2 || BUNZIP2 || BZCAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable -d (--decompress) and -t (--test) options for bzip2.
|
//config: Enable -d (--decompress) and -t (--test) options for bzip2.
|
||||||
//config: This will be automatically selected if bunzip2 or bzcat is
|
//config: This will be automatically selected if bunzip2 or bzcat is
|
||||||
//config: enabled.
|
//config: enabled.
|
||||||
|
|
||||||
//applet:IF_BZIP2(APPLET(bzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_BZIP2(APPLET(bzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
|
//kbuild:lib-$(CONFIG_BZIP2) += bzip2.o
|
||||||
|
@ -18,30 +18,30 @@
|
|||||||
//config: bool "cpio (14 kb)"
|
//config: bool "cpio (14 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: cpio is an archival utility program used to create, modify, and
|
//config: cpio is an archival utility program used to create, modify, and
|
||||||
//config: extract contents from archives.
|
//config: extract contents from archives.
|
||||||
//config: cpio has 110 bytes of overheads for every stored file.
|
//config: cpio has 110 bytes of overheads for every stored file.
|
||||||
//config:
|
//config:
|
||||||
//config: This implementation of cpio can extract cpio archives created in the
|
//config: This implementation of cpio can extract cpio archives created in the
|
||||||
//config: "newc" or "crc" format.
|
//config: "newc" or "crc" format.
|
||||||
//config:
|
//config:
|
||||||
//config: Unless you have a specific application which requires cpio, you
|
//config: Unless you have a specific application which requires cpio, you
|
||||||
//config: should probably say N here.
|
//config: should probably say N here.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CPIO_O
|
//config:config FEATURE_CPIO_O
|
||||||
//config: bool "Support archive creation"
|
//config: bool "Support archive creation"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on CPIO
|
//config: depends on CPIO
|
||||||
//config: help
|
//config: help
|
||||||
//config: This implementation of cpio can create cpio archives in the "newc"
|
//config: This implementation of cpio can create cpio archives in the "newc"
|
||||||
//config: format only.
|
//config: format only.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CPIO_P
|
//config:config FEATURE_CPIO_P
|
||||||
//config: bool "Support passthrough mode"
|
//config: bool "Support passthrough mode"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on FEATURE_CPIO_O
|
//config: depends on FEATURE_CPIO_O
|
||||||
//config: help
|
//config: help
|
||||||
//config: Passthrough mode. Rarely used.
|
//config: Passthrough mode. Rarely used.
|
||||||
|
|
||||||
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
|
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
|
||||||
|
@ -31,11 +31,11 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_SEAMLESS_GZ
|
//config: select FEATURE_SEAMLESS_GZ
|
||||||
//config: help
|
//config: help
|
||||||
//config: dpkg is a medium-level tool to install, build, remove and manage
|
//config: dpkg is a medium-level tool to install, build, remove and manage
|
||||||
//config: Debian packages.
|
//config: Debian packages.
|
||||||
//config:
|
//config:
|
||||||
//config: This implementation of dpkg has a number of limitations,
|
//config: This implementation of dpkg has a number of limitations,
|
||||||
//config: you should use the official dpkg if possible.
|
//config: you should use the official dpkg if possible.
|
||||||
|
|
||||||
//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_DPKG(APPLET(dpkg, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
|
//kbuild:lib-$(CONFIG_DPKG) += dpkg.o
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select FEATURE_SEAMLESS_GZ
|
//config: select FEATURE_SEAMLESS_GZ
|
||||||
//config: help
|
//config: help
|
||||||
//config: dpkg-deb unpacks and provides information about Debian archives.
|
//config: dpkg-deb unpacks and provides information about Debian archives.
|
||||||
//config:
|
//config:
|
||||||
//config: This implementation of dpkg-deb cannot pack archives.
|
//config: This implementation of dpkg-deb cannot pack archives.
|
||||||
//config:
|
//config:
|
||||||
//config: Unless you have a specific application which requires dpkg-deb,
|
//config: Unless you have a specific application which requires dpkg-deb,
|
||||||
//config: say N here.
|
//config: say N here.
|
||||||
|
|
||||||
//applet:IF_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, BB_DIR_USR_BIN, BB_SUID_DROP, dpkg_deb))
|
//applet:IF_DPKG_DEB(APPLET_ODDNAME(dpkg-deb, dpkg_deb, BB_DIR_USR_BIN, BB_SUID_DROP, dpkg_deb))
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ aa: 85.1% -- replaced with aa.gz
|
|||||||
//config: bool "gzip (19 kb)"
|
//config: bool "gzip (19 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: gzip is used to compress files.
|
//config: gzip is used to compress files.
|
||||||
//config: It's probably the most widely used UNIX compression program.
|
//config: It's probably the most widely used UNIX compression program.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_GZIP_LONG_OPTIONS
|
//config:config FEATURE_GZIP_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
@ -55,30 +55,30 @@ aa: 85.1% -- replaced with aa.gz
|
|||||||
//config: range 0 2
|
//config: range 0 2
|
||||||
//config: depends on GZIP
|
//config: depends on GZIP
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable big memory options for gzip.
|
//config: Enable big memory options for gzip.
|
||||||
//config: 0: small buffers, small hash-tables
|
//config: 0: small buffers, small hash-tables
|
||||||
//config: 1: larger buffers, larger hash-tables
|
//config: 1: larger buffers, larger hash-tables
|
||||||
//config: 2: larger buffers, largest hash-tables
|
//config: 2: larger buffers, largest hash-tables
|
||||||
//config: Larger models may give slightly better compression
|
//config: Larger models may give slightly better compression
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_GZIP_LEVELS
|
//config:config FEATURE_GZIP_LEVELS
|
||||||
//config: bool "Enable compression levels"
|
//config: bool "Enable compression levels"
|
||||||
//config: default n
|
//config: default n
|
||||||
//config: depends on GZIP
|
//config: depends on GZIP
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable support for compression levels 4-9. The default level
|
//config: Enable support for compression levels 4-9. The default level
|
||||||
//config: is 6. If levels 1-3 are specified, 4 is used.
|
//config: is 6. If levels 1-3 are specified, 4 is used.
|
||||||
//config: If this option is not selected, -N options are ignored and -9
|
//config: If this option is not selected, -N options are ignored and -9
|
||||||
//config: is used.
|
//config: is used.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_GZIP_DECOMPRESS
|
//config:config FEATURE_GZIP_DECOMPRESS
|
||||||
//config: bool "Enable decompression"
|
//config: bool "Enable decompression"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on GZIP || GUNZIP || ZCAT
|
//config: depends on GZIP || GUNZIP || ZCAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable -d (--decompress) and -t (--test) options for gzip.
|
//config: Enable -d (--decompress) and -t (--test) options for gzip.
|
||||||
//config: This will be automatically selected if gunzip or zcat is
|
//config: This will be automatically selected if gunzip or zcat is
|
||||||
//config: enabled.
|
//config: enabled.
|
||||||
|
|
||||||
//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_GZIP(APPLET(gzip, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_GZIP) += gzip.o
|
//kbuild:lib-$(CONFIG_GZIP) += gzip.o
|
||||||
|
@ -29,28 +29,28 @@
|
|||||||
//config: bool "lzop (13 kb)"
|
//config: bool "lzop (13 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Lzop compression/decompresion.
|
//config: Lzop compression/decompresion.
|
||||||
//config:
|
//config:
|
||||||
//config:config UNLZOP
|
//config:config UNLZOP
|
||||||
//config: bool "unlzop (13 kb)"
|
//config: bool "unlzop (13 kb)"
|
||||||
//config: default n # INCOMPAT: upstream lzop does not provide such tool
|
//config: default n # INCOMPAT: upstream lzop does not provide such tool
|
||||||
//config: help
|
//config: help
|
||||||
//config: Lzop decompresion.
|
//config: Lzop decompresion.
|
||||||
//config:
|
//config:
|
||||||
//config:config LZOPCAT
|
//config:config LZOPCAT
|
||||||
//config: bool "lzopcat (13 kb)"
|
//config: bool "lzopcat (13 kb)"
|
||||||
//config: default n # INCOMPAT: upstream lzop does not provide such tool
|
//config: default n # INCOMPAT: upstream lzop does not provide such tool
|
||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "lzop -dc".
|
//config: Alias to "lzop -dc".
|
||||||
//config:
|
//config:
|
||||||
//config:config LZOP_COMPR_HIGH
|
//config:config LZOP_COMPR_HIGH
|
||||||
//config: bool "lzop compression levels 7,8,9 (not very useful)"
|
//config: bool "lzop compression levels 7,8,9 (not very useful)"
|
||||||
//config: default n
|
//config: default n
|
||||||
//config: depends on LZOP || UNLZOP || LZOPCAT
|
//config: depends on LZOP || UNLZOP || LZOPCAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: High levels (7,8,9) of lzop compression. These levels
|
//config: High levels (7,8,9) of lzop compression. These levels
|
||||||
//config: are actually slower than gzip at equivalent compression ratios
|
//config: are actually slower than gzip at equivalent compression ratios
|
||||||
//config: and take up 3.2K of code.
|
//config: and take up 3.2K of code.
|
||||||
|
|
||||||
//applet:IF_LZOP(APPLET(lzop, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_LZOP(APPLET(lzop, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
// APPLET_ODDNAME:name main location suid_type help
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: bool "rpm (33 kb)"
|
//config: bool "rpm (33 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Mini RPM applet - queries and extracts RPM packages.
|
//config: Mini RPM applet - queries and extracts RPM packages.
|
||||||
|
|
||||||
//applet:IF_RPM(APPLET(rpm, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_RPM(APPLET(rpm, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_RPM) += rpm.o
|
//kbuild:lib-$(CONFIG_RPM) += rpm.o
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: bool "rpm2cpio (20 kb)"
|
//config: bool "rpm2cpio (20 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Converts a RPM file into a CPIO archive.
|
//config: Converts a RPM file into a CPIO archive.
|
||||||
|
|
||||||
//applet:IF_RPM2CPIO(APPLET(rpm2cpio, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_RPM2CPIO(APPLET(rpm2cpio, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_RPM2CPIO) += rpm2cpio.o
|
//kbuild:lib-$(CONFIG_RPM2CPIO) += rpm2cpio.o
|
||||||
|
@ -45,9 +45,9 @@
|
|||||||
//config: bool "tar (40 kb)"
|
//config: bool "tar (40 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: tar is an archiving program. It's commonly used with gzip to
|
//config: tar is an archiving program. It's commonly used with gzip to
|
||||||
//config: create compressed archives. It's probably the most widely used
|
//config: create compressed archives. It's probably the most widely used
|
||||||
//config: UNIX archive program.
|
//config: UNIX archive program.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_LONG_OPTIONS
|
//config:config FEATURE_TAR_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
@ -64,35 +64,35 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ)
|
//config: depends on TAR && (FEATURE_SEAMLESS_Z || FEATURE_SEAMLESS_GZ || FEATURE_SEAMLESS_BZ2 || FEATURE_SEAMLESS_LZMA || FEATURE_SEAMLESS_XZ)
|
||||||
//config: help
|
//config: help
|
||||||
//config: With this option tar can automatically detect compressed
|
//config: With this option tar can automatically detect compressed
|
||||||
//config: tarballs. Currently it works only on files (not pipes etc).
|
//config: tarballs. Currently it works only on files (not pipes etc).
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_FROM
|
//config:config FEATURE_TAR_FROM
|
||||||
//config: bool "Enable -X (exclude from) and -T (include from) options)"
|
//config: bool "Enable -X (exclude from) and -T (include from) options)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR
|
//config: depends on TAR
|
||||||
//config: help
|
//config: help
|
||||||
//config: If you enable this option you'll be able to specify
|
//config: If you enable this option you'll be able to specify
|
||||||
//config: a list of files to include or exclude from an archive.
|
//config: a list of files to include or exclude from an archive.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_OLDGNU_COMPATIBILITY
|
//config:config FEATURE_TAR_OLDGNU_COMPATIBILITY
|
||||||
//config: bool "Support old tar header format"
|
//config: bool "Support old tar header format"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR || DPKG
|
//config: depends on TAR || DPKG
|
||||||
//config: help
|
//config: help
|
||||||
//config: This option is required to unpack archives created in
|
//config: This option is required to unpack archives created in
|
||||||
//config: the old GNU format; help to kill this old format by
|
//config: the old GNU format; help to kill this old format by
|
||||||
//config: repacking your ancient archives with the new format.
|
//config: repacking your ancient archives with the new format.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_OLDSUN_COMPATIBILITY
|
//config:config FEATURE_TAR_OLDSUN_COMPATIBILITY
|
||||||
//config: bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
|
//config: bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR || DPKG
|
//config: depends on TAR || DPKG
|
||||||
//config: help
|
//config: help
|
||||||
//config: This option is required to unpack archives created by some old
|
//config: This option is required to unpack archives created by some old
|
||||||
//config: version of Sun's tar (it was calculating checksum using signed
|
//config: version of Sun's tar (it was calculating checksum using signed
|
||||||
//config: arithmetic). It is said to be fixed in newer Sun tar, but "old"
|
//config: arithmetic). It is said to be fixed in newer Sun tar, but "old"
|
||||||
//config: tarballs still exist.
|
//config: tarballs still exist.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_GNU_EXTENSIONS
|
//config:config FEATURE_TAR_GNU_EXTENSIONS
|
||||||
//config: bool "Support GNU tar extensions (long filenames)"
|
//config: bool "Support GNU tar extensions (long filenames)"
|
||||||
@ -104,18 +104,18 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR && FEATURE_TAR_LONG_OPTIONS
|
//config: depends on TAR && FEATURE_TAR_LONG_OPTIONS
|
||||||
//config: help
|
//config: help
|
||||||
//config: If you enable this option you'll be able to instruct tar to send
|
//config: If you enable this option you'll be able to instruct tar to send
|
||||||
//config: the contents of each extracted file to the standard input of an
|
//config: the contents of each extracted file to the standard input of an
|
||||||
//config: external program.
|
//config: external program.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_UNAME_GNAME
|
//config:config FEATURE_TAR_UNAME_GNAME
|
||||||
//config: bool "Enable use of user and group names"
|
//config: bool "Enable use of user and group names"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAR
|
//config: depends on TAR
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable use of user and group names in tar. This affects contents
|
//config: Enable use of user and group names in tar. This affects contents
|
||||||
//config: listings (-t) and preserving permissions when unpacking (-p).
|
//config: listings (-t) and preserving permissions when unpacking (-p).
|
||||||
//config: +200 bytes.
|
//config: +200 bytes.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TAR_NOPRESERVE_TIME
|
//config:config FEATURE_TAR_NOPRESERVE_TIME
|
||||||
//config: bool "Enable -m (do not preserve time) GNU option"
|
//config: bool "Enable -m (do not preserve time) GNU option"
|
||||||
@ -127,8 +127,8 @@
|
|||||||
//config: default n
|
//config: default n
|
||||||
//config: depends on TAR && SELINUX
|
//config: depends on TAR && SELINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: With this option busybox supports restoring SELinux labels
|
//config: With this option busybox supports restoring SELinux labels
|
||||||
//config: when extracting files from tar archives.
|
//config: when extracting files from tar archives.
|
||||||
|
|
||||||
//applet:IF_TAR(APPLET(tar, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_TAR(APPLET(tar, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//kbuild:lib-$(CONFIG_TAR) += tar.o
|
//kbuild:lib-$(CONFIG_TAR) += tar.o
|
||||||
|
@ -20,20 +20,20 @@
|
|||||||
//config: bool "unzip (24 kb)"
|
//config: bool "unzip (24 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: unzip will list or extract files from a ZIP archive,
|
//config: unzip will list or extract files from a ZIP archive,
|
||||||
//config: commonly found on DOS/WIN systems. The default behavior
|
//config: commonly found on DOS/WIN systems. The default behavior
|
||||||
//config: (with no options) is to extract the archive into the
|
//config: (with no options) is to extract the archive into the
|
||||||
//config: current directory.
|
//config: current directory.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_UNZIP_CDF
|
//config:config FEATURE_UNZIP_CDF
|
||||||
//config: bool "Read and use Central Directory data"
|
//config: bool "Read and use Central Directory data"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on UNZIP
|
//config: depends on UNZIP
|
||||||
//config: help
|
//config: help
|
||||||
//config: If you know that you only need to deal with simple
|
//config: If you know that you only need to deal with simple
|
||||||
//config: ZIP files without deleted/updated files, SFX archives etc,
|
//config: ZIP files without deleted/updated files, SFX archives etc,
|
||||||
//config: you can reduce code size by unselecting this option.
|
//config: you can reduce code size by unselecting this option.
|
||||||
//config: To support less trivial ZIPs, say Y.
|
//config: To support less trivial ZIPs, say Y.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_UNZIP_BZIP2
|
//config:config FEATURE_UNZIP_BZIP2
|
||||||
//config: bool "Support compression method 12 (bzip2)"
|
//config: bool "Support compression method 12 (bzip2)"
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program is used to change to another terminal.
|
//config: This program is used to change to another terminal.
|
||||||
//config: Example: chvt 4 (change to terminal /dev/tty4)
|
//config: Example: chvt 4 (change to terminal /dev/tty4)
|
||||||
|
|
||||||
//applet:IF_CHVT(APPLET(chvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_CHVT(APPLET(chvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "clear (tiny)"
|
//config: bool "clear (tiny)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program clears the terminal screen.
|
//config: This program clears the terminal screen.
|
||||||
|
|
||||||
//applet:IF_CLEAR(APPLET(clear, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_CLEAR(APPLET(clear, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program deallocates unused virtual consoles.
|
//config: This program deallocates unused virtual consoles.
|
||||||
|
|
||||||
//applet:IF_DEALLOCVT(APPLET(deallocvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_DEALLOCVT(APPLET(deallocvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program dumps the kernel's keyboard translation table to
|
//config: This program dumps the kernel's keyboard translation table to
|
||||||
//config: stdout, in binary format. You can then use loadkmap to load it.
|
//config: stdout, in binary format. You can then use loadkmap to load it.
|
||||||
|
|
||||||
//applet:IF_DUMPKMAP(APPLET(dumpkmap, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_DUMPKMAP(APPLET(dumpkmap, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program prints active (foreground) console number.
|
//config: This program prints active (foreground) console number.
|
||||||
|
|
||||||
//applet:IF_FGCONSOLE(APPLET(fgconsole, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_FGCONSOLE(APPLET(fgconsole, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program reports and sets keyboard mode.
|
//config: This program reports and sets keyboard mode.
|
||||||
|
|
||||||
//applet:IF_KBD_MODE(APPLET(kbd_mode, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_KBD_MODE(APPLET(kbd_mode, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -14,29 +14,29 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program loads a console font from standard input.
|
//config: This program loads a console font from standard input.
|
||||||
//config:
|
//config:
|
||||||
//config:config SETFONT
|
//config:config SETFONT
|
||||||
//config: bool "setfont (26 kb)"
|
//config: bool "setfont (26 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allows to load console screen map. Useful for i18n.
|
//config: Allows to load console screen map. Useful for i18n.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_SETFONT_TEXTUAL_MAP
|
//config:config FEATURE_SETFONT_TEXTUAL_MAP
|
||||||
//config: bool "Support reading textual screen maps"
|
//config: bool "Support reading textual screen maps"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on SETFONT
|
//config: depends on SETFONT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Support reading textual screen maps.
|
//config: Support reading textual screen maps.
|
||||||
//config:
|
//config:
|
||||||
//config:config DEFAULT_SETFONT_DIR
|
//config:config DEFAULT_SETFONT_DIR
|
||||||
//config: string "Default directory for console-tools files"
|
//config: string "Default directory for console-tools files"
|
||||||
//config: default ""
|
//config: default ""
|
||||||
//config: depends on SETFONT
|
//config: depends on SETFONT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Directory to use if setfont's params are simple filenames
|
//config: Directory to use if setfont's params are simple filenames
|
||||||
//config: (not /path/to/file or ./file). Default is "" (no default directory).
|
//config: (not /path/to/file or ./file). Default is "" (no default directory).
|
||||||
//config:
|
//config:
|
||||||
//config:comment "Common options for loadfont and setfont"
|
//config:comment "Common options for loadfont and setfont"
|
||||||
//config: depends on LOADFONT || SETFONT
|
//config: depends on LOADFONT || SETFONT
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program loads a keyboard translation table from
|
//config: This program loads a keyboard translation table from
|
||||||
//config: standard input.
|
//config: standard input.
|
||||||
|
|
||||||
//applet:IF_LOADKMAP(APPLET(loadkmap, BB_DIR_SBIN, BB_SUID_DROP))
|
//applet:IF_LOADKMAP(APPLET(loadkmap, BB_DIR_SBIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program is used to start a command on an unused
|
//config: This program is used to start a command on an unused
|
||||||
//config: virtual terminal.
|
//config: virtual terminal.
|
||||||
|
|
||||||
//applet:IF_OPENVT(APPLET(openvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_OPENVT(APPLET(openvt, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
//config: bool "reset (275 bytes)"
|
//config: bool "reset (275 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program is used to reset the terminal screen, if it
|
//config: This program is used to reset the terminal screen, if it
|
||||||
//config: gets messed up.
|
//config: gets messed up.
|
||||||
|
|
||||||
//applet:IF_RESET(APPLET(reset, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_RESET(APPLET(reset, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,18 +10,18 @@
|
|||||||
//config: bool "resize (756 bytes)"
|
//config: bool "resize (756 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program is used to (re)set the width and height of your current
|
//config: This program is used to (re)set the width and height of your current
|
||||||
//config: terminal.
|
//config: terminal.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_RESIZE_PRINT
|
//config:config FEATURE_RESIZE_PRINT
|
||||||
//config: bool "Print environment variables"
|
//config: bool "Print environment variables"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on RESIZE
|
//config: depends on RESIZE
|
||||||
//config: help
|
//config: help
|
||||||
//config: Prints the newly set size (number of columns and rows) of
|
//config: Prints the newly set size (number of columns and rows) of
|
||||||
//config: the terminal.
|
//config: the terminal.
|
||||||
//config: E.g.:
|
//config: E.g.:
|
||||||
//config: COLUMNS=80;LINES=44;export COLUMNS LINES;
|
//config: COLUMNS=80;LINES=44;export COLUMNS LINES;
|
||||||
|
|
||||||
//applet:IF_RESIZE(APPLET(resize, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_RESIZE(APPLET(resize, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program redirects the system console to another device,
|
//config: This program redirects the system console to another device,
|
||||||
//config: like the current tty while logged in via telnet.
|
//config: like the current tty while logged in via telnet.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_SETCONSOLE_LONG_OPTIONS
|
//config:config FEATURE_SETCONSOLE_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program loads entries into the kernel's scancode-to-keycode
|
//config: This program loads entries into the kernel's scancode-to-keycode
|
||||||
//config: map, allowing unusual keyboards to generate usable keycodes.
|
//config: map, allowing unusual keyboards to generate usable keycodes.
|
||||||
|
|
||||||
//applet:IF_SETKEYCODES(APPLET(setkeycodes, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_SETKEYCODES(APPLET(setkeycodes, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program redirects the output console of kernel messages.
|
//config: This program redirects the output console of kernel messages.
|
||||||
|
|
||||||
//applet:IF_SETLOGCONS(APPLET(setlogcons, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
//applet:IF_SETLOGCONS(APPLET(setlogcons, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: Shows keys pressed.
|
//config: Shows keys pressed.
|
||||||
|
|
||||||
//applet:IF_SHOWKEY(APPLET(showkey, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_SHOWKEY(APPLET(showkey, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ config FEATURE_VERBOSE
|
|||||||
bool "Support verbose options (usually -v) for various applets"
|
bool "Support verbose options (usually -v) for various applets"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable cp -v, rm -v and similar messages.
|
Enable cp -v, rm -v and similar messages.
|
||||||
Also enables long option (--verbose) if it exists.
|
Also enables long option (--verbose) if it exists.
|
||||||
Without this option, -v is accepted but ignored.
|
Without this option, -v is accepted but ignored.
|
||||||
|
|
||||||
comment "Common options for cp and mv"
|
comment "Common options for cp and mv"
|
||||||
depends on CP || MV
|
depends on CP || MV
|
||||||
@ -25,7 +25,7 @@ config FEATURE_PRESERVE_HARDLINKS
|
|||||||
default y
|
default y
|
||||||
depends on CP || MV
|
depends on CP || MV
|
||||||
help
|
help
|
||||||
Allow cp and mv to preserve hard links.
|
Allow cp and mv to preserve hard links.
|
||||||
|
|
||||||
comment "Common options for df, du, ls"
|
comment "Common options for df, du, ls"
|
||||||
depends on DF || DU || LS
|
depends on DF || DU || LS
|
||||||
@ -35,6 +35,6 @@ config FEATURE_HUMAN_READABLE
|
|||||||
default y
|
default y
|
||||||
depends on DF || DU || LS
|
depends on DF || DU || LS
|
||||||
help
|
help
|
||||||
Allow df, du, and ls to have human readable output.
|
Allow df, du, and ls to have human readable output.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -18,9 +18,9 @@
|
|||||||
//config: bool "basename (371 bytes)"
|
//config: bool "basename (371 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: basename is used to strip the directory and suffix from filenames,
|
//config: basename is used to strip the directory and suffix from filenames,
|
||||||
//config: leaving just the filename itself. Enable this option if you wish
|
//config: leaving just the filename itself. Enable this option if you wish
|
||||||
//config: to enable the 'basename' utility.
|
//config: to enable the 'basename' utility.
|
||||||
|
|
||||||
//applet:IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename))
|
//applet:IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename))
|
||||||
|
|
||||||
|
@ -10,22 +10,22 @@
|
|||||||
//config: bool "cat (5.6 kb)"
|
//config: bool "cat (5.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: cat is used to concatenate files and print them to the standard
|
//config: cat is used to concatenate files and print them to the standard
|
||||||
//config: output. Enable this option if you wish to enable the 'cat' utility.
|
//config: output. Enable this option if you wish to enable the 'cat' utility.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CATN
|
//config:config FEATURE_CATN
|
||||||
//config: bool "Enable -n and -b options"
|
//config: bool "Enable -n and -b options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on CAT
|
//config: depends on CAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: -n numbers all output lines while -b numbers nonempty output lines.
|
//config: -n numbers all output lines while -b numbers nonempty output lines.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CATV
|
//config:config FEATURE_CATV
|
||||||
//config: bool "cat -v[etA]"
|
//config: bool "cat -v[etA]"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on CAT
|
//config: depends on CAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Display nonprinting characters as escape sequences
|
//config: Display nonprinting characters as escape sequences
|
||||||
|
|
||||||
//applet:IF_CAT(APPLET(cat, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_CAT(APPLET(cat, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "chgrp (7.2 kb)"
|
//config: bool "chgrp (7.2 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: chgrp is used to change the group ownership of files.
|
//config: chgrp is used to change the group ownership of files.
|
||||||
|
|
||||||
//applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp))
|
//applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp))
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//config: bool "chmod (5.1 kb)"
|
//config: bool "chmod (5.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: chmod is used to change the access permission of files.
|
//config: chmod is used to change the access permission of files.
|
||||||
|
|
||||||
//applet:IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod))
|
//applet:IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "chown (7.2 kb)"
|
//config: bool "chown (7.2 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: chown is used to change the user and/or group ownership
|
//config: chown is used to change the user and/or group ownership
|
||||||
//config: of files.
|
//config: of files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CHOWN_LONG_OPTIONS
|
//config:config FEATURE_CHOWN_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "chroot (3.7 kb)"
|
//config: bool "chroot (3.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: chroot is used to change the root directory and run a command.
|
//config: chroot is used to change the root directory and run a command.
|
||||||
//config: The default command is `/bin/sh'.
|
//config: The default command is `/bin/sh'.
|
||||||
|
|
||||||
//applet:IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
//applet:IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "cksum (4.2 kb)"
|
//config: bool "cksum (4.2 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: cksum is used to calculate the CRC32 checksum of a file.
|
//config: cksum is used to calculate the CRC32 checksum of a file.
|
||||||
|
|
||||||
//applet:IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum))
|
//applet:IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "comm (3.9 kb)"
|
//config: bool "comm (3.9 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: comm is used to compare two files line by line and return
|
//config: comm is used to compare two files line by line and return
|
||||||
//config: a three-column output.
|
//config: a three-column output.
|
||||||
|
|
||||||
//applet:IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -15,15 +15,15 @@
|
|||||||
//config: bool "cp (9.7 kb)"
|
//config: bool "cp (9.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: cp is used to copy files and directories.
|
//config: cp is used to copy files and directories.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_CP_LONG_OPTIONS
|
//config:config FEATURE_CP_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on CP && LONG_OPTS
|
//config: depends on CP && LONG_OPTS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable long options.
|
//config: Enable long options.
|
||||||
//config: Also add support for --parents option.
|
//config: Also add support for --parents option.
|
||||||
|
|
||||||
//applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp))
|
//applet:IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp))
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
//config: bool "cut (5.3 kb)"
|
//config: bool "cut (5.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: cut is used to print selected parts of lines from
|
//config: cut is used to print selected parts of lines from
|
||||||
//config: each file to stdout.
|
//config: each file to stdout.
|
||||||
|
|
||||||
//applet:IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut))
|
//applet:IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut))
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@
|
|||||||
//config: bool "date (7.1 kb)"
|
//config: bool "date (7.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: date is used to set the system date or display the
|
//config: date is used to set the system date or display the
|
||||||
//config: current time in the given format.
|
//config: current time in the given format.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DATE_ISOFMT
|
//config:config FEATURE_DATE_ISOFMT
|
||||||
//config: bool "Enable ISO date format output (-I)"
|
//config: bool "Enable ISO date format output (-I)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DATE
|
//config: depends on DATE
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable option (-I) to output an ISO-8601 compliant
|
//config: Enable option (-I) to output an ISO-8601 compliant
|
||||||
//config: date/time string.
|
//config: date/time string.
|
||||||
//config:
|
//config:
|
||||||
//config:# defaults to "no": stat's nanosecond field is a bit non-portable
|
//config:# defaults to "no": stat's nanosecond field is a bit non-portable
|
||||||
//config:config FEATURE_DATE_NANO
|
//config:config FEATURE_DATE_NANO
|
||||||
@ -40,23 +40,23 @@
|
|||||||
//config: depends on DATE # syscall(__NR_clock_gettime)
|
//config: depends on DATE # syscall(__NR_clock_gettime)
|
||||||
//config: select PLATFORM_LINUX
|
//config: select PLATFORM_LINUX
|
||||||
//config: help
|
//config: help
|
||||||
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
|
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DATE_COMPAT
|
//config:config FEATURE_DATE_COMPAT
|
||||||
//config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
|
//config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DATE
|
//config: depends on DATE
|
||||||
//config: help
|
//config: help
|
||||||
//config: System time can be set by 'date -s DATE' and simply 'date DATE',
|
//config: System time can be set by 'date -s DATE' and simply 'date DATE',
|
||||||
//config: but formats of DATE string are different. 'date DATE' accepts
|
//config: but formats of DATE string are different. 'date DATE' accepts
|
||||||
//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
|
//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
|
||||||
//config: unnatural placement of year between minutes and seconds.
|
//config: unnatural placement of year between minutes and seconds.
|
||||||
//config: date -s (and other commands like touch -d) use more sensible
|
//config: date -s (and other commands like touch -d) use more sensible
|
||||||
//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
|
//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
|
||||||
//config:
|
//config:
|
||||||
//config: With this option off, 'date DATE' is 'date -s DATE' support
|
//config: With this option off, 'date DATE' is 'date -s DATE' support
|
||||||
//config: the same format. With it on, 'date DATE' additionally supports
|
//config: the same format. With it on, 'date DATE' additionally supports
|
||||||
//config: MMDDhhmm[[YY]YY][.ss] format.
|
//config: MMDDhhmm[[YY]YY][.ss] format.
|
||||||
|
|
||||||
//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,46 +10,46 @@
|
|||||||
//config: bool "dd (7.1 kb)"
|
//config: bool "dd (7.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: dd copies a file (from standard input to standard output,
|
//config: dd copies a file (from standard input to standard output,
|
||||||
//config: by default) using specific input and output blocksizes,
|
//config: by default) using specific input and output blocksizes,
|
||||||
//config: while optionally performing conversions on it.
|
//config: while optionally performing conversions on it.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DD_SIGNAL_HANDLING
|
//config:config FEATURE_DD_SIGNAL_HANDLING
|
||||||
//config: bool "Enable signal handling for status reporting"
|
//config: bool "Enable signal handling for status reporting"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DD
|
//config: depends on DD
|
||||||
//config: help
|
//config: help
|
||||||
//config: Sending a SIGUSR1 signal to a running `dd' process makes it
|
//config: Sending a SIGUSR1 signal to a running `dd' process makes it
|
||||||
//config: print to standard error the number of records read and written
|
//config: print to standard error the number of records read and written
|
||||||
//config: so far, then to resume copying.
|
//config: so far, then to resume copying.
|
||||||
//config:
|
//config:
|
||||||
//config: $ dd if=/dev/zero of=/dev/null &
|
//config: $ dd if=/dev/zero of=/dev/null &
|
||||||
//config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
|
//config: $ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
|
||||||
//config: 10899206+0 records in
|
//config: 10899206+0 records in
|
||||||
//config: 10899206+0 records out
|
//config: 10899206+0 records out
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DD_THIRD_STATUS_LINE
|
//config:config FEATURE_DD_THIRD_STATUS_LINE
|
||||||
//config: bool "Enable the third status line upon signal"
|
//config: bool "Enable the third status line upon signal"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DD && FEATURE_DD_SIGNAL_HANDLING
|
//config: depends on DD && FEATURE_DD_SIGNAL_HANDLING
|
||||||
//config: help
|
//config: help
|
||||||
//config: Displays a coreutils-like third status line with transferred bytes,
|
//config: Displays a coreutils-like third status line with transferred bytes,
|
||||||
//config: elapsed time and speed.
|
//config: elapsed time and speed.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DD_IBS_OBS
|
//config:config FEATURE_DD_IBS_OBS
|
||||||
//config: bool "Enable ibs, obs and conv options"
|
//config: bool "Enable ibs, obs and conv options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DD
|
//config: depends on DD
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable support for writing a certain number of bytes in and out,
|
//config: Enable support for writing a certain number of bytes in and out,
|
||||||
//config: at a time, and performing conversions on the data stream.
|
//config: at a time, and performing conversions on the data stream.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DD_STATUS
|
//config:config FEATURE_DD_STATUS
|
||||||
//config: bool "Enable status display options"
|
//config: bool "Enable status display options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DD
|
//config: depends on DD
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable support for status=noxfer/none option.
|
//config: Enable support for status=noxfer/none option.
|
||||||
|
|
||||||
//applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd))
|
//applet:IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd))
|
||||||
|
|
||||||
|
@ -21,17 +21,17 @@
|
|||||||
//config: bool "df (7.5 kb)"
|
//config: bool "df (7.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: df reports the amount of disk space used and available
|
//config: df reports the amount of disk space used and available
|
||||||
//config: on filesystems.
|
//config: on filesystems.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DF_FANCY
|
//config:config FEATURE_DF_FANCY
|
||||||
//config: bool "Enable -a, -i, -B"
|
//config: bool "Enable -a, -i, -B"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DF
|
//config: depends on DF
|
||||||
//config: help
|
//config: help
|
||||||
//config: -a Show all filesystems
|
//config: -a Show all filesystems
|
||||||
//config: -i Inodes
|
//config: -i Inodes
|
||||||
//config: -B <SIZE> Blocksize
|
//config: -B <SIZE> Blocksize
|
||||||
|
|
||||||
//applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "dirname (289 bytes)"
|
//config: bool "dirname (289 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: dirname is used to strip a non-directory suffix from
|
//config: dirname is used to strip a non-directory suffix from
|
||||||
//config: a file name.
|
//config: a file name.
|
||||||
|
|
||||||
//applet:IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname))
|
//applet:IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname))
|
||||||
|
|
||||||
|
@ -15,15 +15,15 @@
|
|||||||
//config: bool "dos2unix (5.1 kb)"
|
//config: bool "dos2unix (5.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: dos2unix is used to convert a text file from DOS format to
|
//config: dos2unix is used to convert a text file from DOS format to
|
||||||
//config: UNIX format, and vice versa.
|
//config: UNIX format, and vice versa.
|
||||||
//config:
|
//config:
|
||||||
//config:config UNIX2DOS
|
//config:config UNIX2DOS
|
||||||
//config: bool "unix2dos (5.1 kb)"
|
//config: bool "unix2dos (5.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: unix2dos is used to convert a text file from UNIX format to
|
//config: unix2dos is used to convert a text file from UNIX format to
|
||||||
//config: DOS format, and vice versa.
|
//config: DOS format, and vice versa.
|
||||||
|
|
||||||
//applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix))
|
//applet:IF_DOS2UNIX(APPLET_NOEXEC(dos2unix, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, dos2unix))
|
||||||
//applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos))
|
//applet:IF_UNIX2DOS(APPLET_NOEXEC(unix2dos, dos2unix, BB_DIR_USR_BIN, BB_SUID_DROP, unix2dos))
|
||||||
|
@ -22,15 +22,15 @@
|
|||||||
//config: bool "du (default blocksize of 512 bytes)"
|
//config: bool "du (default blocksize of 512 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: du is used to report the amount of disk space used
|
//config: du is used to report the amount of disk space used
|
||||||
//config: for specified files.
|
//config: for specified files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
//config:config FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
||||||
//config: bool "Use a default blocksize of 1024 bytes (1K)"
|
//config: bool "Use a default blocksize of 1024 bytes (1K)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on DU
|
//config: depends on DU
|
||||||
//config: help
|
//config: help
|
||||||
//config: Use a blocksize of (1K) instead of the default 512b.
|
//config: Use a blocksize of (1K) instead of the default 512b.
|
||||||
|
|
||||||
//applet:IF_DU(APPLET(du, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_DU(APPLET(du, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
//config: bool "echo (basic SuSv3 version taking no options)"
|
//config: bool "echo (basic SuSv3 version taking no options)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: echo is used to print a specified string to stdout.
|
//config: echo is used to print a specified string to stdout.
|
||||||
//config:
|
//config:
|
||||||
//config:# this entry also appears in shell/Config.in, next to the echo builtin
|
//config:# this entry also appears in shell/Config.in, next to the echo builtin
|
||||||
//config:config FEATURE_FANCY_ECHO
|
//config:config FEATURE_FANCY_ECHO
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
//config: bool "env (3.8 kb)"
|
//config: bool "env (3.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: env is used to set an environment variable and run
|
//config: env is used to set an environment variable and run
|
||||||
//config: a command; without options it displays the current
|
//config: a command; without options it displays the current
|
||||||
//config: environment.
|
//config: environment.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_ENV_LONG_OPTIONS
|
//config:config FEATURE_ENV_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
//config: bool "expand (5.8 kb)"
|
//config: bool "expand (5.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: By default, convert all tabs to spaces.
|
//config: By default, convert all tabs to spaces.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_EXPAND_LONG_OPTIONS
|
//config:config FEATURE_EXPAND_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
@ -35,7 +35,7 @@
|
|||||||
//config: bool "unexpand (6 kb)"
|
//config: bool "unexpand (6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: By default, convert only leading sequences of blanks to tabs.
|
//config: By default, convert only leading sequences of blanks to tabs.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_UNEXPAND_LONG_OPTIONS
|
//config:config FEATURE_UNEXPAND_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -26,17 +26,17 @@
|
|||||||
//config: bool "expr (6.1 kb)"
|
//config: bool "expr (6.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: expr is used to calculate numbers and print the result
|
//config: expr is used to calculate numbers and print the result
|
||||||
//config: to standard output.
|
//config: to standard output.
|
||||||
//config:
|
//config:
|
||||||
//config:config EXPR_MATH_SUPPORT_64
|
//config:config EXPR_MATH_SUPPORT_64
|
||||||
//config: bool "Extend Posix numbers support to 64 bit"
|
//config: bool "Extend Posix numbers support to 64 bit"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on EXPR
|
//config: depends on EXPR
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable 64-bit math support in the expr applet. This will make
|
//config: Enable 64-bit math support in the expr applet. This will make
|
||||||
//config: the applet slightly larger, but will allow computation with very
|
//config: the applet slightly larger, but will allow computation with very
|
||||||
//config: large numbers.
|
//config: large numbers.
|
||||||
|
|
||||||
//applet:IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
//config: bool "factor (2.6 kb)"
|
//config: bool "factor (2.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: factor factorizes integers
|
//config: factor factorizes integers
|
||||||
|
|
||||||
//applet:IF_FACTOR(APPLET(factor, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_FACTOR(APPLET(factor, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "false (tiny)"
|
//config: bool "false (tiny)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: false returns an exit code of FALSE (1).
|
//config: false returns an exit code of FALSE (1).
|
||||||
|
|
||||||
//applet:IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false))
|
//applet:IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false))
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//config: bool "fold (4.6 kb)"
|
//config: bool "fold (4.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Wrap text to fit a specific width.
|
//config: Wrap text to fit a specific width.
|
||||||
|
|
||||||
//applet:IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold))
|
//applet:IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "fsync (3.7 kb)"
|
//config: bool "fsync (3.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: fsync is used to flush file-related cached blocks to disk.
|
//config: fsync is used to flush file-related cached blocks to disk.
|
||||||
|
|
||||||
//applet:IF_FSYNC(APPLET_NOFORK(fsync, fsync, BB_DIR_BIN, BB_SUID_DROP, fsync))
|
//applet:IF_FSYNC(APPLET_NOFORK(fsync, fsync, BB_DIR_BIN, BB_SUID_DROP, fsync))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "head (3.7 kb)"
|
//config: bool "head (3.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: head is used to print the first specified number of lines
|
//config: head is used to print the first specified number of lines
|
||||||
//config: from files.
|
//config: from files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_FANCY_HEAD
|
//config:config FEATURE_FANCY_HEAD
|
||||||
//config: bool "Enable -c, -q, and -v"
|
//config: bool "Enable -c, -q, and -v"
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "hostid (247 bytes)"
|
//config: bool "hostid (247 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: hostid prints the numeric identifier (in hexadecimal) for
|
//config: hostid prints the numeric identifier (in hexadecimal) for
|
||||||
//config: the current host.
|
//config: the current host.
|
||||||
|
|
||||||
//applet:IF_HOSTID(APPLET_NOFORK(hostid, hostid, BB_DIR_USR_BIN, BB_SUID_DROP, hostid))
|
//applet:IF_HOSTID(APPLET_NOFORK(hostid, hostid, BB_DIR_USR_BIN, BB_SUID_DROP, hostid))
|
||||||
|
|
||||||
|
@ -16,13 +16,13 @@
|
|||||||
//config: bool "id (6.7 kb)"
|
//config: bool "id (6.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: id displays the current user and group ID names.
|
//config: id displays the current user and group ID names.
|
||||||
//config:
|
//config:
|
||||||
//config:config GROUPS
|
//config:config GROUPS
|
||||||
//config: bool "groups (6.5 kb)"
|
//config: bool "groups (6.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Print the group names associated with current user id.
|
//config: Print the group names associated with current user id.
|
||||||
|
|
||||||
//applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups))
|
//applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups))
|
||||||
//applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id ))
|
//applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id ))
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
//config: bool "install (12 kb)"
|
//config: bool "install (12 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Copy files and set attributes.
|
//config: Copy files and set attributes.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_INSTALL_LONG_OPTIONS
|
//config:config FEATURE_INSTALL_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
//config: bool "link (3.1 kb)"
|
//config: bool "link (3.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: link creates hard links between files.
|
//config: link creates hard links between files.
|
||||||
|
|
||||||
//applet:IF_LINK(APPLET_NOFORK(link, link, BB_DIR_BIN, BB_SUID_DROP, link))
|
//applet:IF_LINK(APPLET_NOFORK(link, link, BB_DIR_BIN, BB_SUID_DROP, link))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "ln (4.5 kb)"
|
//config: bool "ln (4.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: ln is used to create hard or soft links between files.
|
//config: ln is used to create hard or soft links between files.
|
||||||
|
|
||||||
//applet:IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln))
|
//applet:IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln))
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
//config: bool "logname (894 bytes)"
|
//config: bool "logname (894 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: logname is used to print the current user's login name.
|
//config: logname is used to print the current user's login name.
|
||||||
|
|
||||||
//applet:IF_LOGNAME(APPLET_NOFORK(logname, logname, BB_DIR_USR_BIN, BB_SUID_DROP, logname))
|
//applet:IF_LOGNAME(APPLET_NOFORK(logname, logname, BB_DIR_USR_BIN, BB_SUID_DROP, logname))
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
//config: bool "ls (14 kb)"
|
//config: bool "ls (14 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: ls is used to list the contents of directories.
|
//config: ls is used to list the contents of directories.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_LS_FILETYPES
|
//config:config FEATURE_LS_FILETYPES
|
||||||
//config: bool "Enable filetyping options (-p and -F)"
|
//config: bool "Enable filetyping options (-p and -F)"
|
||||||
@ -58,39 +58,39 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on LS
|
//config: depends on LS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allow ls to sort file names alphabetically.
|
//config: Allow ls to sort file names alphabetically.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_LS_TIMESTAMPS
|
//config:config FEATURE_LS_TIMESTAMPS
|
||||||
//config: bool "Show file timestamps"
|
//config: bool "Show file timestamps"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on LS
|
//config: depends on LS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allow ls to display timestamps for files.
|
//config: Allow ls to display timestamps for files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_LS_USERNAME
|
//config:config FEATURE_LS_USERNAME
|
||||||
//config: bool "Show username/groupnames"
|
//config: bool "Show username/groupnames"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on LS
|
//config: depends on LS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allow ls to display username/groupname for files.
|
//config: Allow ls to display username/groupname for files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_LS_COLOR
|
//config:config FEATURE_LS_COLOR
|
||||||
//config: bool "Allow use of color to identify file types"
|
//config: bool "Allow use of color to identify file types"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on LS && LONG_OPTS
|
//config: depends on LS && LONG_OPTS
|
||||||
//config: help
|
//config: help
|
||||||
//config: This enables the --color option to ls.
|
//config: This enables the --color option to ls.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_LS_COLOR_IS_DEFAULT
|
//config:config FEATURE_LS_COLOR_IS_DEFAULT
|
||||||
//config: bool "Produce colored ls output by default"
|
//config: bool "Produce colored ls output by default"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on FEATURE_LS_COLOR
|
//config: depends on FEATURE_LS_COLOR
|
||||||
//config: help
|
//config: help
|
||||||
//config: Saying yes here will turn coloring on by default,
|
//config: Saying yes here will turn coloring on by default,
|
||||||
//config: even if no "--color" option is given to the ls command.
|
//config: even if no "--color" option is given to the ls command.
|
||||||
//config: This is not recommended, since the colors are not
|
//config: This is not recommended, since the colors are not
|
||||||
//config: configurable, and the output may not be legible on
|
//config: configurable, and the output may not be legible on
|
||||||
//config: many output screens.
|
//config: many output screens.
|
||||||
|
|
||||||
//applet:IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls))
|
//applet:IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls))
|
||||||
|
|
||||||
|
@ -9,31 +9,31 @@
|
|||||||
//config: bool "md5sum (6.8 kb)"
|
//config: bool "md5sum (6.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: md5sum is used to print or check MD5 checksums.
|
//config: md5sum is used to print or check MD5 checksums.
|
||||||
//config:
|
//config:
|
||||||
//config:config SHA1SUM
|
//config:config SHA1SUM
|
||||||
//config: bool "sha1sum (6 kb)"
|
//config: bool "sha1sum (6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Compute and check SHA1 message digest
|
//config: Compute and check SHA1 message digest
|
||||||
//config:
|
//config:
|
||||||
//config:config SHA256SUM
|
//config:config SHA256SUM
|
||||||
//config: bool "sha256sum (7.1 kb)"
|
//config: bool "sha256sum (7.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Compute and check SHA256 message digest
|
//config: Compute and check SHA256 message digest
|
||||||
//config:
|
//config:
|
||||||
//config:config SHA512SUM
|
//config:config SHA512SUM
|
||||||
//config: bool "sha512sum (7.6 kb)"
|
//config: bool "sha512sum (7.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Compute and check SHA512 message digest
|
//config: Compute and check SHA512 message digest
|
||||||
//config:
|
//config:
|
||||||
//config:config SHA3SUM
|
//config:config SHA3SUM
|
||||||
//config: bool "sha3sum (6.3 kb)"
|
//config: bool "sha3sum (6.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Compute and check SHA3 message digest
|
//config: Compute and check SHA3 message digest
|
||||||
//config:
|
//config:
|
||||||
//config:comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
|
//config:comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
|
||||||
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
||||||
@ -43,9 +43,9 @@
|
|||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
//config: depends on MD5SUM || SHA1SUM || SHA256SUM || SHA512SUM || SHA3SUM
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enabling the -c options allows files to be checked
|
//config: Enabling the -c options allows files to be checked
|
||||||
//config: against pre-calculated hash values.
|
//config: against pre-calculated hash values.
|
||||||
//config: -s and -w are useful options when verifying checksums.
|
//config: -s and -w are useful options when verifying checksums.
|
||||||
|
|
||||||
//applet:IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, md5sum))
|
//applet:IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, md5sum))
|
||||||
//applet:IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum))
|
//applet:IF_SHA1SUM(APPLET_NOEXEC(sha1sum, md5_sha1_sum, BB_DIR_USR_BIN, BB_SUID_DROP, sha1sum))
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
//config: bool "mkdir (4.4 kb)"
|
//config: bool "mkdir (4.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: mkdir is used to create directories with the specified names.
|
//config: mkdir is used to create directories with the specified names.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_MKDIR_LONG_OPTIONS
|
//config:config FEATURE_MKDIR_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "mkfifo (3.7 kb)"
|
//config: bool "mkfifo (3.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: mkfifo is used to create FIFOs (named pipes).
|
//config: mkfifo is used to create FIFOs (named pipes).
|
||||||
//config: The 'mknod' program can also create FIFOs.
|
//config: The 'mknod' program can also create FIFOs.
|
||||||
|
|
||||||
//applet:IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo))
|
//applet:IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "mknod (4 kb)"
|
//config: bool "mknod (4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: mknod is used to create FIFOs or block/character special
|
//config: mknod is used to create FIFOs or block/character special
|
||||||
//config: files with the specified names.
|
//config: files with the specified names.
|
||||||
|
|
||||||
//applet:IF_MKNOD(APPLET_NOEXEC(mknod, mknod, BB_DIR_BIN, BB_SUID_DROP, mknod))
|
//applet:IF_MKNOD(APPLET_NOEXEC(mknod, mknod, BB_DIR_BIN, BB_SUID_DROP, mknod))
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
//config: bool "mktemp (4 kb)"
|
//config: bool "mktemp (4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: mktemp is used to create unique temporary files
|
//config: mktemp is used to create unique temporary files
|
||||||
|
|
||||||
//applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
//config: bool "mv (9.8 kb)"
|
//config: bool "mv (9.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: mv is used to move or rename files or directories.
|
//config: mv is used to move or rename files or directories.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_MV_LONG_OPTIONS
|
//config:config FEATURE_MV_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "nice (1.8 kb)"
|
//config: bool "nice (1.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: nice runs a program with modified scheduling priority.
|
//config: nice runs a program with modified scheduling priority.
|
||||||
|
|
||||||
//applet:IF_NICE(APPLET(nice, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_NICE(APPLET(nice, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
//config: bool "nl (4.3 kb)"
|
//config: bool "nl (4.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: nl is used to number lines of files.
|
//config: nl is used to number lines of files.
|
||||||
|
|
||||||
//applet:IF_NL(APPLET(nl, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_NL(APPLET(nl, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
//config: bool "nohup (2 kb)"
|
//config: bool "nohup (2 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: run a command immune to hangups, with output to a non-tty.
|
//config: run a command immune to hangups, with output to a non-tty.
|
||||||
|
|
||||||
//applet:IF_NOHUP(APPLET(nohup, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_NOHUP(APPLET(nohup, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
//config: bool "nproc (248 bytes)"
|
//config: bool "nproc (248 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Print number of CPUs
|
//config: Print number of CPUs
|
||||||
|
|
||||||
//applet:IF_NPROC(APPLET(nproc, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_NPROC(APPLET(nproc, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//config: bool "od (11 kb)"
|
//config: bool "od (11 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: od is used to dump binary files in octal and other formats.
|
//config: od is used to dump binary files in octal and other formats.
|
||||||
|
|
||||||
//applet:IF_OD(APPLET(od, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_OD(APPLET(od, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "paste (4.5 kb)"
|
//config: bool "paste (4.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: paste is used to paste lines of different files together
|
//config: paste is used to paste lines of different files together
|
||||||
//config: and write the result to stdout
|
//config: and write the result to stdout
|
||||||
|
|
||||||
//applet:IF_PASTE(APPLET_NOEXEC(paste, paste, BB_DIR_USR_BIN, BB_SUID_DROP, paste))
|
//applet:IF_PASTE(APPLET_NOEXEC(paste, paste, BB_DIR_USR_BIN, BB_SUID_DROP, paste))
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: bool "printenv (1 kb)"
|
//config: bool "printenv (1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: printenv is used to print all or part of environment.
|
//config: printenv is used to print all or part of environment.
|
||||||
|
|
||||||
//applet:IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv))
|
//applet:IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv))
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@
|
|||||||
//config: bool "printf (3.3 kb)"
|
//config: bool "printf (3.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: printf is used to format and print specified strings.
|
//config: printf is used to format and print specified strings.
|
||||||
//config: It's similar to `echo' except it has more options.
|
//config: It's similar to `echo' except it has more options.
|
||||||
|
|
||||||
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
|
//applet:IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "pwd (3.4 kb)"
|
//config: bool "pwd (3.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: pwd is used to print the current directory.
|
//config: pwd is used to print the current directory.
|
||||||
|
|
||||||
//applet:IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd))
|
//applet:IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd))
|
||||||
|
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
//config: bool "readlink (3.6 kb)"
|
//config: bool "readlink (3.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: This program reads a symbolic link and returns the name
|
//config: This program reads a symbolic link and returns the name
|
||||||
//config: of the file it points to
|
//config: of the file it points to
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_READLINK_FOLLOW
|
//config:config FEATURE_READLINK_FOLLOW
|
||||||
//config: bool "Enable canonicalization by following all symlinks (-f)"
|
//config: bool "Enable canonicalization by following all symlinks (-f)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on READLINK
|
//config: depends on READLINK
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable the readlink option (-f).
|
//config: Enable the readlink option (-f).
|
||||||
|
|
||||||
//applet:IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
//config: bool "realpath (1.1 kb)"
|
//config: bool "realpath (1.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Return the canonicalized absolute pathname.
|
//config: Return the canonicalized absolute pathname.
|
||||||
//config: This isn't provided by GNU shellutils, but where else does it belong.
|
//config: This isn't provided by GNU shellutils, but where else does it belong.
|
||||||
|
|
||||||
//applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//config: bool "rm (4.9 kb)"
|
//config: bool "rm (4.9 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: rm is used to remove files or directories.
|
//config: rm is used to remove files or directories.
|
||||||
|
|
||||||
//applet:IF_RM(APPLET_NOFORK(rm, rm, BB_DIR_BIN, BB_SUID_DROP, rm))
|
//applet:IF_RM(APPLET_NOFORK(rm, rm, BB_DIR_BIN, BB_SUID_DROP, rm))
|
||||||
|
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
//config: bool "rmdir (3.4 kb)"
|
//config: bool "rmdir (3.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: rmdir is used to remove empty directories.
|
//config: rmdir is used to remove empty directories.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_RMDIR_LONG_OPTIONS
|
//config:config FEATURE_RMDIR_LONG_OPTIONS
|
||||||
//config: bool "Enable long options"
|
//config: bool "Enable long options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on RMDIR && LONG_OPTS
|
//config: depends on RMDIR && LONG_OPTS
|
||||||
//config: help
|
//config: help
|
||||||
//config: Support long options for the rmdir applet, including
|
//config: Support long options for the rmdir applet, including
|
||||||
//config: --ignore-fail-on-non-empty for compatibility with GNU rmdir.
|
//config: --ignore-fail-on-non-empty for compatibility with GNU rmdir.
|
||||||
|
|
||||||
//applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir))
|
//applet:IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "seq (3.6 kb)"
|
//config: bool "seq (3.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: print a sequence of numbers
|
//config: print a sequence of numbers
|
||||||
|
|
||||||
//applet:IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq))
|
//applet:IF_SEQ(APPLET_NOFORK(seq, seq, BB_DIR_USR_BIN, BB_SUID_DROP, seq))
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
//config: bool "shred (5 kb)"
|
//config: bool "shred (5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Overwrite a file to hide its contents, and optionally delete it
|
//config: Overwrite a file to hide its contents, and optionally delete it
|
||||||
|
|
||||||
//applet:IF_SHRED(APPLET(shred, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_SHRED(APPLET(shred, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
//config: bool "shuf (5.4 kb)"
|
//config: bool "shuf (5.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Generate random permutations
|
//config: Generate random permutations
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
|
//kbuild:lib-$(CONFIG_SHUF) += shuf.o
|
||||||
//applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf))
|
//applet:IF_SHUF(APPLET_NOEXEC(shuf, shuf, BB_DIR_USR_BIN, BB_SUID_DROP, shuf))
|
||||||
|
@ -16,29 +16,29 @@
|
|||||||
//config: bool "sleep (1.7 kb)"
|
//config: bool "sleep (1.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: sleep is used to pause for a specified number of seconds.
|
//config: sleep is used to pause for a specified number of seconds.
|
||||||
//config: It comes in 3 versions:
|
//config: It comes in 3 versions:
|
||||||
//config: - small: takes one integer parameter
|
//config: - small: takes one integer parameter
|
||||||
//config: - fancy: takes multiple integer arguments with suffixes:
|
//config: - fancy: takes multiple integer arguments with suffixes:
|
||||||
//config: sleep 1d 2h 3m 15s
|
//config: sleep 1d 2h 3m 15s
|
||||||
//config: - fancy with fractional numbers:
|
//config: - fancy with fractional numbers:
|
||||||
//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
|
//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
|
||||||
//config: Last one is "the most compatible" with coreutils sleep,
|
//config: Last one is "the most compatible" with coreutils sleep,
|
||||||
//config: but it adds around 1k of code.
|
//config: but it adds around 1k of code.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_FANCY_SLEEP
|
//config:config FEATURE_FANCY_SLEEP
|
||||||
//config: bool "Enable multiple arguments and s/m/h/d suffixes"
|
//config: bool "Enable multiple arguments and s/m/h/d suffixes"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on SLEEP
|
//config: depends on SLEEP
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allow sleep to pause for specified minutes, hours, and days.
|
//config: Allow sleep to pause for specified minutes, hours, and days.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_FLOAT_SLEEP
|
//config:config FEATURE_FLOAT_SLEEP
|
||||||
//config: bool "Enable fractional arguments"
|
//config: bool "Enable fractional arguments"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on FEATURE_FANCY_SLEEP
|
//config: depends on FEATURE_FANCY_SLEEP
|
||||||
//config: help
|
//config: help
|
||||||
//config: Allow for fractional numeric parameters.
|
//config: Allow for fractional numeric parameters.
|
||||||
|
|
||||||
/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */
|
/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */
|
||||||
//applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
@ -15,19 +15,19 @@
|
|||||||
//config: bool "sort (7.4 kb)"
|
//config: bool "sort (7.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: sort is used to sort lines of text in specified files.
|
//config: sort is used to sort lines of text in specified files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_SORT_BIG
|
//config:config FEATURE_SORT_BIG
|
||||||
//config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
|
//config: bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on SORT
|
//config: depends on SORT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Without this, sort only supports -r, -u, and an integer version
|
//config: Without this, sort only supports -r, -u, and an integer version
|
||||||
//config: of -n. Selecting this adds sort keys, floating point support, and
|
//config: of -n. Selecting this adds sort keys, floating point support, and
|
||||||
//config: more. This adds a little over 3k to a nonstatic build on x86.
|
//config: more. This adds a little over 3k to a nonstatic build on x86.
|
||||||
//config:
|
//config:
|
||||||
//config: The SuSv3 sort standard is available at:
|
//config: The SuSv3 sort standard is available at:
|
||||||
//config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
//config: http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
||||||
|
|
||||||
//applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
|
//applet:IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
|
||||||
|
|
||||||
|
@ -9,16 +9,16 @@
|
|||||||
//config: bool "split (5.4 kb)"
|
//config: bool "split (5.4 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Split a file into pieces.
|
//config: Split a file into pieces.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_SPLIT_FANCY
|
//config:config FEATURE_SPLIT_FANCY
|
||||||
//config: bool "Fancy extensions"
|
//config: bool "Fancy extensions"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on SPLIT
|
//config: depends on SPLIT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Add support for features not required by SUSv3.
|
//config: Add support for features not required by SUSv3.
|
||||||
//config: Supports additional suffixes 'b' for 512 bytes,
|
//config: Supports additional suffixes 'b' for 512 bytes,
|
||||||
//config: 'g' for 1GiB for the -b option.
|
//config: 'g' for 1GiB for the -b option.
|
||||||
|
|
||||||
//applet:IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -16,16 +16,16 @@
|
|||||||
//config: bool "stat (10 kb)"
|
//config: bool "stat (10 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: display file or filesystem status.
|
//config: display file or filesystem status.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_STAT_FORMAT
|
//config:config FEATURE_STAT_FORMAT
|
||||||
//config: bool "Enable custom formats (-c)"
|
//config: bool "Enable custom formats (-c)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on STAT
|
//config: depends on STAT
|
||||||
//config: help
|
//config: help
|
||||||
//config: Without this, stat will not support the '-c format' option where
|
//config: Without this, stat will not support the '-c format' option where
|
||||||
//config: users can pass a custom format string for output. This adds about
|
//config: users can pass a custom format string for output. This adds about
|
||||||
//config: 7k to a nonstatic build on amd64.
|
//config: 7k to a nonstatic build on amd64.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_STAT_FILESYSTEM
|
//config:config FEATURE_STAT_FILESYSTEM
|
||||||
//config: bool "Enable display of filesystem status (-f)"
|
//config: bool "Enable display of filesystem status (-f)"
|
||||||
@ -33,8 +33,8 @@
|
|||||||
//config: depends on STAT
|
//config: depends on STAT
|
||||||
//config: select PLATFORM_LINUX # statfs()
|
//config: select PLATFORM_LINUX # statfs()
|
||||||
//config: help
|
//config: help
|
||||||
//config: Without this, stat will not support the '-f' option to display
|
//config: Without this, stat will not support the '-f' option to display
|
||||||
//config: information about filesystem status.
|
//config: information about filesystem status.
|
||||||
|
|
||||||
//applet:IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
//config: bool "stty (8.6 kb)"
|
//config: bool "stty (8.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: stty is used to change and print terminal line settings.
|
//config: stty is used to change and print terminal line settings.
|
||||||
|
|
||||||
//applet:IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
//config: bool "sum (4.3 kb)"
|
//config: bool "sum (4.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: checksum and count the blocks in a file
|
//config: checksum and count the blocks in a file
|
||||||
|
|
||||||
//applet:IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
//config: bool "sync (769 bytes)"
|
//config: bool "sync (769 bytes)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: sync is used to flush filesystem buffers.
|
//config: sync is used to flush filesystem buffers.
|
||||||
//config:config FEATURE_SYNC_FANCY
|
//config:config FEATURE_SYNC_FANCY
|
||||||
//config: bool "Enable -d and -f flags (requires syncfs(2) in libc)"
|
//config: bool "Enable -d and -f flags (requires syncfs(2) in libc)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on SYNC
|
//config: depends on SYNC
|
||||||
//config: help
|
//config: help
|
||||||
//config: sync -d FILE... executes fdatasync() on each FILE.
|
//config: sync -d FILE... executes fdatasync() on each FILE.
|
||||||
//config: sync -f FILE... executes syncfs() on each FILE.
|
//config: sync -f FILE... executes syncfs() on each FILE.
|
||||||
|
|
||||||
//applet:IF_SYNC(APPLET_NOFORK(sync, sync, BB_DIR_BIN, BB_SUID_DROP, sync))
|
//applet:IF_SYNC(APPLET_NOFORK(sync, sync, BB_DIR_BIN, BB_SUID_DROP, sync))
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
//config: bool "tac (4.1 kb)"
|
//config: bool "tac (4.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: tac is used to concatenate and print files in reverse.
|
//config: tac is used to concatenate and print files in reverse.
|
||||||
|
|
||||||
//applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac))
|
//applet:IF_TAC(APPLET_NOEXEC(tac, tac, BB_DIR_USR_BIN, BB_SUID_DROP, tac))
|
||||||
|
|
||||||
|
@ -22,20 +22,20 @@
|
|||||||
//config: bool "tail (7.1 kb)"
|
//config: bool "tail (7.1 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: tail is used to print the last specified number of lines
|
//config: tail is used to print the last specified number of lines
|
||||||
//config: from files.
|
//config: from files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_FANCY_TAIL
|
//config:config FEATURE_FANCY_TAIL
|
||||||
//config: bool "Enable -q, -s, -v, and -F options"
|
//config: bool "Enable -q, -s, -v, and -F options"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TAIL
|
//config: depends on TAIL
|
||||||
//config: help
|
//config: help
|
||||||
//config: These options are provided by GNU tail, but
|
//config: These options are provided by GNU tail, but
|
||||||
//config: are not specific in the SUSv3 standard:
|
//config: are not specified in the SUSv3 standard:
|
||||||
//config: -q Never output headers giving file names
|
//config: -q Never output headers giving file names
|
||||||
//config: -s SEC Wait SEC seconds between reads with -f
|
//config: -s SEC Wait SEC seconds between reads with -f
|
||||||
//config: -v Always output headers giving file names
|
//config: -v Always output headers giving file names
|
||||||
//config: -F Same as -f, but keep retrying
|
//config: -F Same as -f, but keep retrying
|
||||||
|
|
||||||
//applet:IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_TAIL(APPLET(tail, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
//config: bool "tee (4.3 kb)"
|
//config: bool "tee (4.3 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: tee is used to read from standard input and write
|
//config: tee is used to read from standard input and write
|
||||||
//config: to standard output and files.
|
//config: to standard output and files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TEE_USE_BLOCK_IO
|
//config:config FEATURE_TEE_USE_BLOCK_IO
|
||||||
//config: bool "Enable block I/O (larger/faster) instead of byte I/O"
|
//config: bool "Enable block I/O (larger/faster) instead of byte I/O"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TEE
|
//config: depends on TEE
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable this option for a faster tee, at expense of size.
|
//config: Enable this option for a faster tee, at expense of size.
|
||||||
|
|
||||||
//applet:IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_TEE(APPLET(tee, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -23,28 +23,28 @@
|
|||||||
//config: bool "test (3.6 kb)"
|
//config: bool "test (3.6 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: test is used to check file types and compare values,
|
//config: test is used to check file types and compare values,
|
||||||
//config: returning an appropriate exit code. The bash shell
|
//config: returning an appropriate exit code. The bash shell
|
||||||
//config: has test built in, ash can build it in optionally.
|
//config: has test built in, ash can build it in optionally.
|
||||||
//config:
|
//config:
|
||||||
//config:config TEST1
|
//config:config TEST1
|
||||||
//config: bool "test as ["
|
//config: bool "test as ["
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Provide test command in the "[ EXPR ]" form
|
//config: Provide test command in the "[ EXPR ]" form
|
||||||
//config:
|
//config:
|
||||||
//config:config TEST2
|
//config:config TEST2
|
||||||
//config: bool "test as [["
|
//config: bool "test as [["
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Provide test command in the "[[ EXPR ]]" form
|
//config: Provide test command in the "[[ EXPR ]]" form
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TEST_64
|
//config:config FEATURE_TEST_64
|
||||||
//config: bool "Extend test to 64 bit"
|
//config: bool "Extend test to 64 bit"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TEST || TEST1 || TEST2 || ASH_TEST || HUSH_TEST
|
//config: depends on TEST || TEST1 || TEST2 || ASH_TEST || HUSH_TEST
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable 64-bit support in test.
|
//config: Enable 64-bit support in test.
|
||||||
|
|
||||||
//applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
//applet:IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
||||||
//applet:IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
//applet:IF_TEST1(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
//config: bool "timeout (5.5 kb)"
|
//config: bool "timeout (5.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: Runs a program and watches it. If it does not terminate in
|
//config: Runs a program and watches it. If it does not terminate in
|
||||||
//config: specified number of seconds, it is sent a signal.
|
//config: specified number of seconds, it is sent a signal.
|
||||||
|
|
||||||
//applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -16,23 +16,23 @@
|
|||||||
//config: bool "touch (5.8 kb)"
|
//config: bool "touch (5.8 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: touch is used to create or change the access and/or
|
//config: touch is used to create or change the access and/or
|
||||||
//config: modification timestamp of specified files.
|
//config: modification timestamp of specified files.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TOUCH_NODEREF
|
//config:config FEATURE_TOUCH_NODEREF
|
||||||
//config: bool "Add support for -h"
|
//config: bool "Add support for -h"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TOUCH
|
//config: depends on TOUCH
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable touch to have the -h option.
|
//config: Enable touch to have the -h option.
|
||||||
//config: This requires libc support for lutimes() function.
|
//config: This requires libc support for lutimes() function.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TOUCH_SUSV3
|
//config:config FEATURE_TOUCH_SUSV3
|
||||||
//config: bool "Add support for SUSV3 features (-d -t -r)"
|
//config: bool "Add support for SUSV3 features (-d -t -r)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TOUCH
|
//config: depends on TOUCH
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable touch to use a reference file or a given date/time argument.
|
//config: Enable touch to use a reference file or a given date/time argument.
|
||||||
|
|
||||||
//applet:IF_TOUCH(APPLET_NOFORK(touch, touch, BB_DIR_BIN, BB_SUID_DROP, touch))
|
//applet:IF_TOUCH(APPLET_NOFORK(touch, touch, BB_DIR_BIN, BB_SUID_DROP, touch))
|
||||||
|
|
||||||
|
@ -22,27 +22,27 @@
|
|||||||
//config: bool "tr (5.5 kb)"
|
//config: bool "tr (5.5 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: tr is used to squeeze, and/or delete characters from standard
|
//config: tr is used to squeeze, and/or delete characters from standard
|
||||||
//config: input, writing to standard output.
|
//config: input, writing to standard output.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TR_CLASSES
|
//config:config FEATURE_TR_CLASSES
|
||||||
//config: bool "Enable character classes (such as [:upper:])"
|
//config: bool "Enable character classes (such as [:upper:])"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TR
|
//config: depends on TR
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable character classes, enabling commands such as:
|
//config: Enable character classes, enabling commands such as:
|
||||||
//config: tr [:upper:] [:lower:] to convert input into lowercase.
|
//config: tr [:upper:] [:lower:] to convert input into lowercase.
|
||||||
//config:
|
//config:
|
||||||
//config:config FEATURE_TR_EQUIV
|
//config:config FEATURE_TR_EQUIV
|
||||||
//config: bool "Enable equivalence classes"
|
//config: bool "Enable equivalence classes"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: depends on TR
|
//config: depends on TR
|
||||||
//config: help
|
//config: help
|
||||||
//config: Enable equivalence classes, which essentially add the enclosed
|
//config: Enable equivalence classes, which essentially add the enclosed
|
||||||
//config: character to the current set. For instance, tr [=a=] xyz would
|
//config: character to the current set. For instance, tr [=a=] xyz would
|
||||||
//config: replace all instances of 'a' with 'xyz'. This option is mainly
|
//config: replace all instances of 'a' with 'xyz'. This option is mainly
|
||||||
//config: useful for cases when no other way of expressing a character
|
//config: useful for cases when no other way of expressing a character
|
||||||
//config: is possible.
|
//config: is possible.
|
||||||
|
|
||||||
//applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
//config: bool "true (tiny)"
|
//config: bool "true (tiny)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: true returns an exit code of TRUE (0).
|
//config: true returns an exit code of TRUE (0).
|
||||||
|
|
||||||
//applet:IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true))
|
//applet:IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true))
|
||||||
|
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
//config: bool "truncate (4.7 kb)"
|
//config: bool "truncate (4.7 kb)"
|
||||||
//config: default y
|
//config: default y
|
||||||
//config: help
|
//config: help
|
||||||
//config: truncate truncates files to a given size. If a file does
|
//config: truncate truncates files to a given size. If a file does
|
||||||
//config: not exist, it is created unless told otherwise.
|
//config: not exist, it is created unless told otherwise.
|
||||||
|
|
||||||
//applet:IF_TRUNCATE(APPLET_NOFORK(truncate, truncate, BB_DIR_USR_BIN, BB_SUID_DROP, truncate))
|
//applet:IF_TRUNCATE(APPLET_NOFORK(truncate, truncate, BB_DIR_USR_BIN, BB_SUID_DROP, truncate))
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user