aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-21 18:25:05 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-21 18:25:05 +0000
commit9d7010ca86feff8fffdfecadf6554ca9aac268c1 (patch)
tree2132c3f716ef7eba3fea0d157fd8886fb3a0bc76 /include
parentd4cffd1cc3437910393c319215d14bd2dcaa4df6 (diff)
downloadbusybox-9d7010ca86feff8fffdfecadf6554ca9aac268c1.tar.gz
- add applet nohup(1)
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
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 \