From 9d7010ca86feff8fffdfecadf6554ca9aac268c1 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 21 Sep 2005 18:25:05 +0000 Subject: - add applet nohup(1) --- include/applets.h | 3 +++ include/usage.h | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'include') 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 \ -- cgit v1.2.3