summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-20 19:40:36 +0000
committerDenis Vlasenko2006-11-20 19:40:36 +0000
commit736230e2098e55720a1e235b1c13bdd1a3372c86 (patch)
tree8269cafd5207e1d2d3f3870c83b2e0b2bdc3bf42 /include
parentc9cdeaa3fef3f93eb259957d36c760ec8902e0c1 (diff)
downloadbusybox-736230e2098e55720a1e235b1c13bdd1a3372c86.zip
busybox-736230e2098e55720a1e235b1c13bdd1a3372c86.tar.gz
dhcprelay: new applet
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 78fa688..1d6cc93 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -94,6 +94,7 @@ USE_DELGROUP(APPLET_ODDNAME(delgroup, deluser, _BB_DIR_BIN, _BB_SUID_NEVER, delg
USE_DELUSER(APPLET(deluser, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_DEVFSD(APPLET(devfsd, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_DF(APPLET(df, _BB_DIR_BIN, _BB_SUID_NEVER))
+USE_APP_DHCPRELAY(APPLET(dhcprelay, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_DIFF(APPLET(diff, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DIRNAME(APPLET(dirname, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_DMESG(APPLET(dmesg, _BB_DIR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 9b2d11a..7898473 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -539,6 +539,16 @@ USE_FEATURE_DATE_ISOFMT( \
"Filesystem 1k-blocks Used Available Use% Mounted on\n" \
"/dev/sda3 8690864 8553540 137324 98% /\n"
+#define dhcprelay_trivial_usage \
+ "[client_device_list] [server_device]"
+#define dhcprelay_full_usage \
+ "Relays dhcp requests from client devices to server device"
+
+#define dhcprelay_trivial_usage \
+ "[client_device_list] [server_device]"
+#define dhcprelay_full_usage \
+ "Relays dhcp requests from client devices to server device"
+
#define diff_trivial_usage \
"[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2"
#define diff_full_usage \