diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-01-23 05:59:32 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-01-23 05:59:32 +0000 |
| commit | fe23b6509ff7dd65995dd9690931ebbe347b8f14 (patch) | |
| tree | 98131f99d92b5e8e5af98f1946a84eb732b26c5c /include | |
| parent | 381611b6f686397acc968e4f38a2268437623b3b (diff) | |
| download | busybox-w32-fe23b6509ff7dd65995dd9690931ebbe347b8f14.tar.gz busybox-w32-fe23b6509ff7dd65995dd9690931ebbe347b8f14.tar.bz2 busybox-w32-fe23b6509ff7dd65995dd9690931ebbe347b8f14.zip | |
A patch from John F. Kelly to add in a utility for configuring
vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.
git-svn-id: svn://busybox.net/trunk/busybox@6431 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 504f86a17..9e88f5044 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -598,6 +598,9 @@ | |||
| 598 | #ifdef CONFIG_UUENCODE | 598 | #ifdef CONFIG_UUENCODE |
| 599 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 599 | APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 600 | #endif | 600 | #endif |
| 601 | #ifdef CONFIG_VCONFIG | ||
| 602 | APPLET(vconfig, vconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | ||
| 603 | #endif | ||
| 601 | #ifdef CONFIG_VI | 604 | #ifdef CONFIG_VI |
| 602 | APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 605 | APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
| 603 | #endif | 606 | #endif |
diff --git a/include/usage.h b/include/usage.h index 077306bdf..d2fb19372 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -2369,6 +2369,17 @@ | |||
| 2369 | "$ uudecode busybox busybox > busybox.uu\n" \ | 2369 | "$ uudecode busybox busybox > busybox.uu\n" \ |
| 2370 | "$\n" | 2370 | "$\n" |
| 2371 | 2371 | ||
| 2372 | #define vconfig_trivial_usage \ | ||
| 2373 | "COMMAND [OPTIONS] ..." | ||
| 2374 | |||
| 2375 | #define vconfig_full_usage \ | ||
| 2376 | "Usage: add [interface-name] [vlan_id] \n" \ | ||
| 2377 | " rem [vlan-name] \n" \ | ||
| 2378 | " set_flag [interface-name] [flag-num] [0 | 1] \n" \ | ||
| 2379 | " set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | ||
| 2380 | " set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \ | ||
| 2381 | " set_name_type [name-type] \n" | ||
| 2382 | |||
| 2372 | #define vi_trivial_usage \ | 2383 | #define vi_trivial_usage \ |
| 2373 | "[OPTION] [FILE]..." | 2384 | "[OPTION] [FILE]..." |
| 2374 | #define vi_full_usage \ | 2385 | #define vi_full_usage \ |
