inittab: Start shell only if console is not null
Harald Becker
ralda at gmx.de
Thu Aug 28 07:58:37 UTC 2014
Hi !
> console::respawn:/sbin/getty -L 115200 ttyS0 vt100
>
This is a special Busybox feature. BB uses the id field to specify a tty
device, used to start the inittab command. If the device open fails, the
inittab line is skipped.
From examples/inittab:
# <id>: WARNING: This field has a non-traditional meaning for BusyBox init!
#
# The id field is used by BusyBox init to specify the controlling
tty for
# the specified process to run on. The contents of this field are
# appended to "/dev/" and used as-is. There is no need for this
field to
# be unique, although if it isn't you may have strange results.
If this
# field is left blank, then the init's stdin/out will be used.
Harald
More information about the busybox
mailing list