From a8f2580e76da09d623f710affad67ab6610b2c03 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 9 Dec 2007 15:30:36 -0600 Subject: Add -c option to oneit, to specify console other than /dev/tty0. --- toys/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toys/Config.in') 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 -- cgit v1.2.3