diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 8 | ||||
| -rw-r--r-- | include/usage.h | 20 |
2 files changed, 25 insertions, 3 deletions
diff --git a/include/applets.h b/include/applets.h index 60928aef2..e59342051 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -152,6 +152,9 @@ | |||
| 152 | #ifdef CONFIG_DUMPKMAP | 152 | #ifdef CONFIG_DUMPKMAP |
| 153 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 153 | APPLET(dumpkmap, dumpkmap_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
| 154 | #endif | 154 | #endif |
| 155 | #ifdef CONFIG_DUMPLEASES | ||
| 156 | APPLET(dumpleases, dumpleases_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
| 157 | #endif | ||
| 155 | #ifdef CONFIG_DUTMP | 158 | #ifdef CONFIG_DUTMP |
| 156 | APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) | 159 | APPLET(dutmp, dutmp_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) |
| 157 | #endif | 160 | #endif |
| @@ -495,7 +498,10 @@ | |||
| 495 | APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 498 | APPLET(tty, tty_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 496 | #endif | 499 | #endif |
| 497 | #ifdef CONFIG_UDHCPC | 500 | #ifdef CONFIG_UDHCPC |
| 498 | APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 501 | APPLET(udhcpc, udhcpc_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) |
| 502 | #endif | ||
| 503 | #ifdef CONFIG_UDHCPD | ||
| 504 | APPLET(udhcpd, udhcpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER) | ||
| 499 | #endif | 505 | #endif |
| 500 | #ifdef CONFIG_UMOUNT | 506 | #ifdef CONFIG_UMOUNT |
| 501 | APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 507 | APPLET(umount, umount_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
diff --git a/include/usage.h b/include/usage.h index 8dd501dde..324341524 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -385,6 +385,14 @@ | |||
| 385 | #define dumpkmap_example_usage \ | 385 | #define dumpkmap_example_usage \ |
| 386 | "$ dumpkmap > keymap\n" | 386 | "$ dumpkmap > keymap\n" |
| 387 | 387 | ||
| 388 | #define dumpleases_trivial_usage \ | ||
| 389 | "[-r|-a] [-f LEASEFILE]" | ||
| 390 | #define dumpleases_full_usage \ | ||
| 391 | "Usage: dumpleases -f <file> -[r|a]\n" \ | ||
| 392 | "\t-f,\t--file=FILENAME\tLeases file to load\n" \ | ||
| 393 | "\t-r,\t--remaining\tInterepret lease times as time remaing\n" \ | ||
| 394 | "\t-a,\t--absolute\tInterepret lease times as expire time\n" | ||
| 395 | |||
| 388 | #define dutmp_trivial_usage \ | 396 | #define dutmp_trivial_usage \ |
| 389 | "[FILE]" | 397 | "[FILE]" |
| 390 | #define dutmp_full_usage \ | 398 | #define dutmp_full_usage \ |
| @@ -1945,12 +1953,14 @@ | |||
| 1945 | "/dev/tty2\n" | 1953 | "/dev/tty2\n" |
| 1946 | 1954 | ||
| 1947 | #define udhcpc_trivial_usage \ | 1955 | #define udhcpc_trivial_usage \ |
| 1948 | "[-fqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p file] [-r IP] [-s script]" | 1956 | "[-fbnqv] [-c CLIENTID] [-H HOSTNAME] [-i INTERFACE]\n[-p pidfile] [-r IP] [-s script]" |
| 1949 | #define udhcpc_full_usage \ | 1957 | #define udhcpc_full_usage \ |
| 1950 | "\tUsage: udhcpcd [OPTIONS]\n" \ | 1958 | "\tUsage: udhcpc [OPTIONS]\n" \ |
| 1951 | "\t-c,\t--clientid=CLIENTID\tClient identifier\n" \ | 1959 | "\t-c,\t--clientid=CLIENTID\tClient identifier\n" \ |
| 1952 | "\t-H,\t--hostname=HOSTNAME\tClient hostname\n" \ | 1960 | "\t-H,\t--hostname=HOSTNAME\tClient hostname\n" \ |
| 1961 | "\t-h,\t \tAlias for -h\n" \ | ||
| 1953 | "\t-f,\t--foreground\tDo not fork after getting lease\n" \ | 1962 | "\t-f,\t--foreground\tDo not fork after getting lease\n" \ |
| 1963 | "\t-b,\t--background\tFork to background if lease cannot be immediately negotiated.\n" \ | ||
| 1954 | "\t-i,\t--interface=INTERFACE\tInterface to use (default: eth0)\n" \ | 1964 | "\t-i,\t--interface=INTERFACE\tInterface to use (default: eth0)\n" \ |
| 1955 | "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated.\n" \ | 1965 | "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated.\n" \ |
| 1956 | "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \ | 1966 | "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \ |
| @@ -1959,6 +1969,12 @@ | |||
| 1959 | "\t-s,\t--script=file\tRun file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \ | 1969 | "\t-s,\t--script=file\tRun file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \ |
| 1960 | "\t-v,\t--version\tDisplay version" | 1970 | "\t-v,\t--version\tDisplay version" |
| 1961 | 1971 | ||
| 1972 | #define udhcpd_trivial_usage \ | ||
| 1973 | "[configfile]\n" \ | ||
| 1974 | |||
| 1975 | #define udhcpd_full_usage \ | ||
| 1976 | "\tUsage: udhcpd [configfile]\n" | ||
| 1977 | |||
| 1962 | #ifdef CONFIG_FEATURE_MOUNT_FORCE | 1978 | #ifdef CONFIG_FEATURE_MOUNT_FORCE |
| 1963 | #define USAGE_MOUNT_FORCE(a) a | 1979 | #define USAGE_MOUNT_FORCE(a) a |
| 1964 | #else | 1980 | #else |
