serial console and log-in
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Thu Mar 1 17:35:00 PST 2007
On Fri, Mar 02, 2007 at 01:57:08AM +0100, Natanael Copa wrote:
> On Thu, 2007-03-01 at 00:26 +0100, Denis Vlasenko wrote:
>
> > How about writing small hack which analyzes stdin (fd #0)
> > and closes fd #0,1,2 + reopens/dups /dev/ttyN or /dev/ttySn:
>
> ...
>
> > then exec it's argv?
> >
> > Use it like this:
> >
> > ::respawn:/somewhere/cttyhack /sbin/getty - 9600 vt100
> >
> > Care to try? ;)
>
> Sounds good. I'll give it a shot. Thanks alot.
Well, if it's external to init, you can also grep for console= in
/proc/cmdline.
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070302/f70bc544/attachment.pgp
More information about the busybox
mailing list