diff options
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 @@ #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 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 @@ "$ 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 \ |