aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-12-09 15:30:36 -0600
committerRob Landley <rob@landley.net>2007-12-09 15:30:36 -0600
commita8f2580e76da09d623f710affad67ab6610b2c03 (patch)
tree96c867366d968dcea3c74cc7db039c66f3acb2eb /toys/Config.in
parentfece5cb6d796119eccb1ae0074e5b3aaccbb74ee (diff)
downloadtoybox-a8f2580e76da09d623f710affad67ab6610b2c03.tar.gz
Add -c option to oneit, to specify console other than /dev/tty0.
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/Config.in b/toys/Config.in
index ba2bbf32..8f2cf6c5 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -260,12 +260,13 @@ config ONEIT
bool "oneit"
default y
help
- usage: oneit [-p] command [...]
+ usage: oneit [-p] [-c /dev/tty0] command [...]
A simple init program that runs a single supplied command line with a
controlling tty (so CTRL-C can kill it).
-p Power off instead of rebooting when command exits.
+ -c Which console device to use.
The oneit command runs the supplied command line as a child process
(because PID 1 has signals blocked), attached to /dev/tty0, in its