diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-13 22:43:13 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-13 22:43:13 +0100 |
commit | bb16f57e5d7a3985e27b684e1d329f88f896f40f (patch) | |
tree | aa276667f34f08c87023b1daee949248a70408e0 | |
parent | 4fc82e0067db4b54ee05d56feaa4fb981d380e5f (diff) | |
download | busybox-w32-bb16f57e5d7a3985e27b684e1d329f88f896f40f.tar.gz busybox-w32-bb16f57e5d7a3985e27b684e1d329f88f896f40f.tar.bz2 busybox-w32-bb16f57e5d7a3985e27b684e1d329f88f896f40f.zip |
INSTALL: update obsolete doc, as suggested by Doug Clapp (doug.clapp AT triad.rr.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | INSTALL | 20 | ||||
-rw-r--r-- | coreutils/sync.c | 2 |
2 files changed, 17 insertions, 5 deletions
@@ -19,11 +19,24 @@ it, is to enable all features and then use "standalone shell" mode with a | |||
19 | blank command $PATH. | 19 | blank command $PATH. |
20 | 20 | ||
21 | To enable all features, use "make defconfig", which produces the largest | 21 | To enable all features, use "make defconfig", which produces the largest |
22 | general-purpose configuration. (It's allyesconfig minus debugging options, | 22 | general-purpose configuration. It's allyesconfig minus debugging options, |
23 | optional packaging choices, and a few special-purpose features requiring | 23 | optional packaging choices, and a few special-purpose features requiring |
24 | extra configuration to use.) | 24 | extra configuration to use. Then enable "standalone shell" feature: |
25 | 25 | ||
26 | make defconfig | 26 | make defconfig |
27 | make menuconfig | ||
28 | # select Busybox Settings | ||
29 | # then General Configuration | ||
30 | # then exec prefers applets | ||
31 | # exit back to top level menu | ||
32 | # select Shells | ||
33 | # then Standalone shell | ||
34 | # exit back to top level menu | ||
35 | # exit and save new configuration | ||
36 | # OR | ||
37 | # use these commands to modify .config directly: | ||
38 | sed -e 's/.*FEATURE_PREFER_APPLETS.*/CONFIG_FEATURE_PREFER_APPLETS=y/' -i .config | ||
39 | sed -e 's/.*FEATURE_SH_STANDALONE.*/CONFIG_FEATURE_SH_STANDALONE=y/' -i .config | ||
27 | make | 40 | make |
28 | PATH= ./busybox ash | 41 | PATH= ./busybox ash |
29 | 42 | ||
@@ -121,5 +134,4 @@ More Information: | |||
121 | 134 | ||
122 | Se also the busybox FAQ, under the questions "How can I get started using | 135 | Se also the busybox FAQ, under the questions "How can I get started using |
123 | BusyBox" and "How do I build a BusyBox-based system?" The BusyBox FAQ is | 136 | BusyBox" and "How do I build a BusyBox-based system?" The BusyBox FAQ is |
124 | available from http://www.busybox.net/FAQ.html or as the file | 137 | available from http://www.busybox.net/FAQ.html |
125 | docs/busybox.net/FAQ.html in this tarball. | ||
diff --git a/coreutils/sync.c b/coreutils/sync.c index 9016655e0..59305c677 100644 --- a/coreutils/sync.c +++ b/coreutils/sync.c | |||
@@ -14,7 +14,7 @@ | |||
14 | /* This is a NOFORK applet. Be very careful! */ | 14 | /* This is a NOFORK applet. Be very careful! */ |
15 | 15 | ||
16 | int sync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 16 | int sync_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
17 | int sync_main(int argc UNUSED_PARAM, char **argv) | 17 | int sync_main(int argc UNUSED_PARAM, char **argv IF_NOT_DESKTOP(UNUSED_PARAM)) |
18 | { | 18 | { |
19 | /* coreutils-6.9 compat */ | 19 | /* coreutils-6.9 compat */ |
20 | bb_warn_ignoring_args(argv[1]); | 20 | bb_warn_ignoring_args(argv[1]); |