aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index d6aee5599..e2fe25167 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -558,6 +558,9 @@
558#ifdef CONFIG_SETKEYCODES 558#ifdef CONFIG_SETKEYCODES
559 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 559 APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
560#endif 560#endif
561#ifdef CONFIG_SETSID
562 APPLET(setsid, setsid_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
563#endif
561#if defined(CONFIG_FEATURE_SH_IS_ASH) && defined(CONFIG_ASH) 564#if defined(CONFIG_FEATURE_SH_IS_ASH) && defined(CONFIG_ASH)
562 APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER) 565 APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
563#elif defined(CONFIG_FEATURE_SH_IS_HUSH) && defined(CONFIG_HUSH) 566#elif defined(CONFIG_FEATURE_SH_IS_HUSH) && defined(CONFIG_HUSH)
diff --git a/include/usage.h b/include/usage.h
index 5d7c36551..dc8058a20 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2375,6 +2375,12 @@
2375#define setkeycodes_example_usage \ 2375#define setkeycodes_example_usage \
2376 "$ setkeycodes e030 127\n" 2376 "$ setkeycodes e030 127\n"
2377 2377
2378#define setsid_trivial_usage \
2379 "program [arg ...]"
2380#define setsid_full_usage \
2381 "Runs any program in a new session by calling setsid() before\n" \
2382 "exec'ing the rest of its arguments. See setsid(2) for details."
2383
2378#define lash_trivial_usage \ 2384#define lash_trivial_usage \
2379 "[FILE]...\n" \ 2385 "[FILE]...\n" \
2380 "or: sh -c command [args]..." 2386 "or: sh -c command [args]..."