diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/ifupdown.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r-- | networking/ifupdown.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 7706a84b7..b48abb7dc 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -17,6 +17,34 @@ | |||
17 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 17 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | //usage:#define ifup_trivial_usage | ||
21 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." | ||
22 | //usage:#define ifup_full_usage "\n\n" | ||
23 | //usage: "Options:" | ||
24 | //usage: "\n -a De/configure all interfaces automatically" | ||
25 | //usage: "\n -i FILE Use FILE for interface definitions" | ||
26 | //usage: "\n -n Print out what would happen, but don't do it" | ||
27 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( | ||
28 | //usage: "\n (note: doesn't disable mappings)" | ||
29 | //usage: "\n -m Don't run any mappings" | ||
30 | //usage: ) | ||
31 | //usage: "\n -v Print out what would happen before doing it" | ||
32 | //usage: "\n -f Force de/configuration" | ||
33 | //usage: | ||
34 | //usage:#define ifdown_trivial_usage | ||
35 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." | ||
36 | //usage:#define ifdown_full_usage "\n\n" | ||
37 | //usage: "Options:" | ||
38 | //usage: "\n -a De/configure all interfaces automatically" | ||
39 | //usage: "\n -i FILE Use FILE for interface definitions" | ||
40 | //usage: "\n -n Print out what would happen, but don't do it" | ||
41 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( | ||
42 | //usage: "\n (note: doesn't disable mappings)" | ||
43 | //usage: "\n -m Don't run any mappings" | ||
44 | //usage: ) | ||
45 | //usage: "\n -v Print out what would happen before doing it" | ||
46 | //usage: "\n -f Force de/configuration" | ||
47 | |||
20 | #include "libbb.h" | 48 | #include "libbb.h" |
21 | /* After libbb.h, since it needs sys/types.h on some systems */ | 49 | /* After libbb.h, since it needs sys/types.h on some systems */ |
22 | #include <sys/utsname.h> | 50 | #include <sys/utsname.h> |