[BusyBox] Re: inittab and console

Ryan yanglifeng at powercn.com
Wed Jun 22 01:03:32 UTC 2005


Hello, ralphs,


Maybe, Paul's patch might help you.


note that getty is taking care of some important housekeeping in
this case.  if you attempt to simplify your system and eliminate
the login prompt by doing something like this:

     ttyS0::respawn:/bin/sh

you'll end up with a shell without job control.

we addressed this with:
    http://bugs.busybox.net/view.php?id=24

with that patch you can write the above line this way:

     ttyS0::respawn:-/bin/sh

(which is currently allowed but ignored by busybox init) and the shell
will be given its own session and controlling tty.

our real application of this isn't for direct shell startup.  but
by doing this:

    console::sysinit:-/etc/rcS

we can arrange for rcS to have some tty-aware pause and escape-to-shell
hooks which work correctly.


Best,
 				

Ryan
2005-06-22





More information about the busybox mailing list