A patch from John F. Kelly to add in a utility for configuring

vlan under linux, derived from Ben Greear's VLAN "vconfig" tool.
This commit is contained in:
Eric Andersen
2003-01-23 05:59:32 +00:00
parent 97d86f2bb5
commit 853c494efd
5 changed files with 187 additions and 0 deletions

View File

@@ -598,6 +598,9 @@
#ifdef CONFIG_UUENCODE
APPLET(uuencode, uuencode_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_VCONFIG
APPLET(vconfig, vconfig_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
#ifdef CONFIG_VI
APPLET(vi, vi_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif

View File

@@ -2369,6 +2369,17 @@
"$ uudecode busybox busybox > busybox.uu\n" \
"$\n"
#define vconfig_trivial_usage \
"COMMAND [OPTIONS] ..."
#define vconfig_full_usage \
"Usage: add [interface-name] [vlan_id] \n" \
" rem [vlan-name] \n" \
" set_flag [interface-name] [flag-num] [0 | 1] \n" \
" set_egress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
" set_ingress_map [vlan-name] [skb_priority] [vlan_qos] \n" \
" set_name_type [name-type] \n"
#define vi_trivial_usage \
"[OPTION] [FILE]..."
#define vi_full_usage \