aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-03-27 23:23:43 +0000
committerGravatar Rob Landley <rob@landley.net>2006-03-27 23:23:43 +0000
commit87848d91c7b3dba9379237ba0bad31239f16e07a (patch)
tree365577855e659e5c9e254cc93eb9073a43a518e9 /include
parent28ff9668d93978c6bd7de72419bbd55bb1a092f5 (diff)
downloadbusybox-87848d91c7b3dba9379237ba0bad31239f16e07a.tar.gz
busybox-87848d91c7b3dba9379237ba0bad31239f16e07a.tar.bz2
setlogcons, from Jan Kaszka.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 95278d93e..0f239822c 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -235,6 +235,7 @@ USE_SEQ(APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_SETARCH(APPLET(setarch, setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_SETCONSOLE(APPLET(setconsole, setconsole_main, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_SETKEYCODES(APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
+USE_SETLOGCONS(APPLET(setlogcons, setlogcons_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_SETSID(APPLET(setsid, setsid_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_FEATURE_SH_IS_ASH(APPLET_NOUSAGE(sh, ash_main, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_FEATURE_SH_IS_HUSH(APPLET_NOUSAGE(sh, hush_main, _BB_DIR_BIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 660c9e702..21f305fe2 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2648,6 +2648,11 @@
#define setkeycodes_example_usage \
"$ setkeycodes e030 127\n"
+#define setlogcons_trivial_usage \
+ "N"
+#define setlogcons_full_usage \
+ "Redirects the kernel output to console N (0 for current)."
+
#define setsid_trivial_usage \
"program [arg ...]"
#define setsid_full_usage \