diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-21 23:29:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-21 23:29:24 +0000 |
commit | 95d3c4503fa8c4f4289b81f50f52657e112e0234 (patch) | |
tree | 383ba6ed6c937f8dd6a6160206d937e146b50dd7 | |
parent | 4a2117027f12c43b93e4221f636074c881206a2d (diff) | |
download | busybox-w32-95d3c4503fa8c4f4289b81f50f52657e112e0234.tar.gz busybox-w32-95d3c4503fa8c4f4289b81f50f52657e112e0234.tar.bz2 busybox-w32-95d3c4503fa8c4f4289b81f50f52657e112e0234.zip |
printenv / sum defines
-rw-r--r-- | include/applets.h | 6 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e5b19e0eb..462d91801 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -452,6 +452,9 @@ | |||
452 | #ifdef CONFIG_POWEROFF | 452 | #ifdef CONFIG_POWEROFF |
453 | APPLET(poweroff, poweroff_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 453 | APPLET(poweroff, poweroff_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
454 | #endif | 454 | #endif |
455 | #ifdef CONFIG_PRINTENV | ||
456 | APPLET(printenv, printenv_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
457 | #endif | ||
455 | #ifdef CONFIG_PRINTF | 458 | #ifdef CONFIG_PRINTF |
456 | APPLET(printf, printf_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 459 | APPLET(printf, printf_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
457 | #endif | 460 | #endif |
@@ -545,6 +548,9 @@ | |||
545 | #ifdef CONFIG_SULOGIN | 548 | #ifdef CONFIG_SULOGIN |
546 | APPLET(sulogin, sulogin_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 549 | APPLET(sulogin, sulogin_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
547 | #endif | 550 | #endif |
551 | #ifdef CONFIG_SUM | ||
552 | APPLET(sum, sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
553 | #endif | ||
548 | #ifdef CONFIG_SWAPONOFF | 554 | #ifdef CONFIG_SWAPONOFF |
549 | APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 555 | APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
550 | #endif | 556 | #endif |
diff --git a/include/usage.h b/include/usage.h index 128aee2f5..33ead14f5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1949,6 +1949,12 @@ | |||
1949 | "Options:\n" \ | 1949 | "Options:\n" \ |
1950 | "\t-d\t\tdelay interval for shutting off." | 1950 | "\t-d\t\tdelay interval for shutting off." |
1951 | 1951 | ||
1952 | #define printenv_trivial_usage \ | ||
1953 | "[VARIABLES...]" | ||
1954 | #define printenv_full_usage \ | ||
1955 | "print all or part of environment\n\n" \ | ||
1956 | "If no environment VARIABLE specified, print them all." | ||
1957 | |||
1952 | #define printf_trivial_usage \ | 1958 | #define printf_trivial_usage \ |
1953 | "FORMAT [ARGUMENT...]" | 1959 | "FORMAT [ARGUMENT...]" |
1954 | #define printf_full_usage \ | 1960 | #define printf_full_usage \ |
@@ -2316,6 +2322,14 @@ | |||
2316 | "\t-h\tName of the remote host for this login.\n" \ | 2322 | "\t-h\tName of the remote host for this login.\n" \ |
2317 | "\t-p\tPreserve environment." | 2323 | "\t-p\tPreserve environment." |
2318 | 2324 | ||
2325 | #define sum_trivial_usage \ | ||
2326 | "[rs] [files...]" | ||
2327 | #define sum_full_usage \ | ||
2328 | "checksum and count the blocks in a file\n\n" \ | ||
2329 | "Options:\n" \ | ||
2330 | "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ | ||
2331 | "\t-s\tuse System V sum algorithm (512byte blocks)\n" | ||
2332 | |||
2319 | #define swapoff_trivial_usage \ | 2333 | #define swapoff_trivial_usage \ |
2320 | "[OPTION] [DEVICE]" | 2334 | "[OPTION] [DEVICE]" |
2321 | #define swapoff_full_usage \ | 2335 | #define swapoff_full_usage \ |