diff options
author | Rob Landley <rob@landley.net> | 2007-12-09 15:30:36 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-12-09 15:30:36 -0600 |
commit | a8f2580e76da09d623f710affad67ab6610b2c03 (patch) | |
tree | 96c867366d968dcea3c74cc7db039c66f3acb2eb /toys/Config.in | |
parent | fece5cb6d796119eccb1ae0074e5b3aaccbb74ee (diff) | |
download | toybox-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.in | 3 |
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 |