aboutsummaryrefslogtreecommitdiff
path: root/networking/ifupdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifupdown.c')
-rw-r--r--networking/ifupdown.c28
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>