mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
Update readme and install.sh usage message.
This commit is contained in:
parent
5a620ea220
commit
c8e41157a2
19
README
19
README
@ -5,12 +5,12 @@ What is busybox:
|
|||||||
|
|
||||||
BusyBox combines tiny versions of many common UNIX utilities into a single
|
BusyBox combines tiny versions of many common UNIX utilities into a single
|
||||||
small executable. It provides minimalist replacements for most of the
|
small executable. It provides minimalist replacements for most of the
|
||||||
utilities you usually find in bzip2, coreutils, file, findutils, gawk, grep,
|
utilities you usually find in bzip2, coreutils, e2fsprogs, file, findutils,
|
||||||
inetutils, modutils, net-tools, procps, sed, shadow, sysklogd, sysvinit, tar,
|
gawk, grep, inetutils, less, modutils, net-tools, procps, sed, shadow,
|
||||||
util-linux, and vim. The utilities in BusyBox often have fewer options than
|
sysklogd, sysvinit, tar, util-linux, and vim. The utilities in BusyBox
|
||||||
their full-featured cousins; however, the options that are included provide
|
often have fewer options than their full-featured cousins; however, the
|
||||||
the expected functionality and behave very much like their larger
|
options that are included provide the expected functionality and behave
|
||||||
counterparts.
|
very much like their larger counterparts.
|
||||||
|
|
||||||
BusyBox has been written with size-optimization and limited resources in
|
BusyBox has been written with size-optimization and limited resources in
|
||||||
mind, both to produce small binaries and to reduce run-time memory usage.
|
mind, both to produce small binaries and to reduce run-time memory usage.
|
||||||
@ -50,9 +50,10 @@ Using busybox:
|
|||||||
|
|
||||||
The build automatically generates a file "busybox.links", which is used by
|
The build automatically generates a file "busybox.links", which is used by
|
||||||
'make install' to create symlinks to the BusyBox binary for all compiled in
|
'make install' to create symlinks to the BusyBox binary for all compiled in
|
||||||
commands. Use the PREFIX environment variable to specify where to install
|
commands. This uses the PREFIX environment variable to specify where to
|
||||||
the busybox binary and symlink forest. (i.e., 'make PREFIX=/tmp/foo install',
|
install, and installs hardlinks or symlinks depending on the configuration
|
||||||
or 'make PREFIX=/tmp/foo install-hardlinks' if you prefer hard links.)
|
preferences. (You can also manually run the install script at
|
||||||
|
"applets/install.sh").
|
||||||
|
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ export LC_CTYPE=POSIX
|
|||||||
|
|
||||||
prefix=${1}
|
prefix=${1}
|
||||||
if [ -z "$prefix" ]; then
|
if [ -z "$prefix" ]; then
|
||||||
echo "No installation directory, aborting."
|
echo "usage: applets/install.sh DESTINATION [--symlinks/--hardlinks]"
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
h=`sort busybox.links | uniq`
|
h=`sort busybox.links | uniq`
|
||||||
|
Loading…
Reference in New Issue
Block a user