[BusyBox] non MMU system and askfirst init lines

Vladimir N. Oleynik dzo at simtreas.ru
Mon Dec 30 05:12:03 UTC 2002


Hi.

I tested busybox init.c with changes fork() to vfork().
I geted expected result:
init stoped when wait <CR> if inittab have askfirst lines.
I think, may be require disable feature "askfirst" for busybox 0.61?
Full emulation:

tty2::askfirst:/sbin/getty 38400 tty2 linux  

is:

tty2::respawn:/sbin/getty -wI '\012Please press Enter to activate this console.
' 
       38400 tty2 linux  

or for

tty2::askfirst:-/bin/sh

is previous line with micrologin.c:

main() { return execl("/bin/sh", "-sh", 0); }


Other, changes fork to vfork give not problems.


--w
vodz



More information about the busybox mailing list