aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-13 15:23:27 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-01-13 15:23:27 +0000
commitd27d925a6d83a2831ccccb48ca24cd77768cde1a (patch)
tree4627274950722fccd8b5e583314c7c0d9482a88f /include
parent481ce92bdffe1d5b6f8e3c9814cf2b62ca817c91 (diff)
downloadbusybox-d27d925a6d83a2831ccccb48ca24cd77768cde1a.tar.gz
- new applet brctl
text data bss dec hex filename 289 20 0 309 135 networking/brctl.o 335 23 0 358 166 networking/brctl-verbose-ops.o
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 4934d18cd..830ff2842 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -86,6 +86,7 @@ USE_AWK(APPLET_NOEXEC(awk, awk, _BB_DIR_USR_BIN, _BB_SUID_NEVER, awk))
USE_BASENAME(APPLET_NOFORK(basename, basename, _BB_DIR_USR_BIN, _BB_SUID_NEVER, basename))
USE_BBCONFIG(APPLET(bbconfig, _BB_DIR_BIN, _BB_SUID_NEVER))
//USE_BBSH(APPLET(bbsh, _BB_DIR_BIN, _BB_SUID_NEVER))
+USE_BRCTL(APPLET(brctl, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_BUNZIP2(APPLET(bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_BUNZIP2(APPLET_ODDNAME(bzcat, bunzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER, bzcat))
USE_BZIP2(APPLET(bzip2, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 464fb614b..cb8bd2a8d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -119,6 +119,16 @@
"$ basename /foo/bar.txt .txt\n" \
"bar"
+#define brctl_trivial_usage \
+ "COMMAND [BRIDGE [INTERFACE]]"
+#define brctl_full_usage \
+ "Manage ethernet bridges." \
+ "\n\nCommands:\n" \
+ " addbr <bridge> Create <bridge>\n" \
+ " delbr <bridge> Delete <bridge>\n" \
+ " addif <bridge> <iface> Add <iface> to <bridge>\n" \
+ " delif <bridge> <iface> Delete <iface> from <bridge>"
+
#define bunzip2_trivial_usage \
"[OPTION]... [FILE]"
#define bunzip2_full_usage \