diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-21 18:25:05 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-09-21 18:25:05 +0000 |
commit | 26015162df0e9e03da53ac14b62ba84b94c63140 (patch) | |
tree | 2132c3f716ef7eba3fea0d157fd8886fb3a0bc76 /include | |
parent | cf13dd130d061506182b768a3c0fe0fed5a22b88 (diff) | |
download | busybox-w32-26015162df0e9e03da53ac14b62ba84b94c63140.tar.gz busybox-w32-26015162df0e9e03da53ac14b62ba84b94c63140.tar.bz2 busybox-w32-26015162df0e9e03da53ac14b62ba84b94c63140.zip |
- add applet nohup(1)
git-svn-id: svn://busybox.net/trunk/busybox@11538 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 916597078..56ec0a6de 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -462,6 +462,9 @@ | |||
462 | #ifdef CONFIG_NICE | 462 | #ifdef CONFIG_NICE |
463 | APPLET(nice, nice_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 463 | APPLET(nice, nice_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
464 | #endif | 464 | #endif |
465 | #ifdef CONFIG_NOHUP | ||
466 | APPLET(nohup, nohup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
467 | #endif | ||
465 | #ifdef CONFIG_NSLOOKUP | 468 | #ifdef CONFIG_NSLOOKUP |
466 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 469 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
467 | #endif | 470 | #endif |
diff --git a/include/usage.h b/include/usage.h index 43b6f7048..f702729e5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2035,6 +2035,13 @@ | |||
2035 | "Options:\n" \ | 2035 | "Options:\n" \ |
2036 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" | 2036 | "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" |
2037 | 2037 | ||
2038 | #define nohup_trivial_usage \ | ||
2039 | "COMMAND [ARGS]" | ||
2040 | #define nohup_full_usage \ | ||
2041 | "run a command immune to hangups, with output to a non-tty" | ||
2042 | #define nohup_example_usage \ | ||
2043 | "$ nohup make &" | ||
2044 | |||
2038 | #define nslookup_trivial_usage \ | 2045 | #define nslookup_trivial_usage \ |
2039 | "[HOST] [SERVER]" | 2046 | "[HOST] [SERVER]" |
2040 | #define nslookup_full_usage \ | 2047 | #define nslookup_full_usage \ |