diff options
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 @@ #ifdef CONFIG_NICE APPLET(nice, nice_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_NOHUP + APPLET(nohup, nohup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_NSLOOKUP APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #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 @@ "Options:\n" \ "\t-n ADJUST\tAdjust the scheduling priority by ADJUST" +#define nohup_trivial_usage \ + "COMMAND [ARGS]" +#define nohup_full_usage \ + "run a command immune to hangups, with output to a non-tty" +#define nohup_example_usage \ + "$ nohup make &" + #define nslookup_trivial_usage \ "[HOST] [SERVER]" #define nslookup_full_usage \ |