init: wait for sysinit completion

Anna Martynova terrible.broom at gmail.com
Thu Jul 9 10:26:24 UTC 2009


Hello, all.
At the moment I am upgrading my system from busybox 1.8.2 to 1.14.2. I found
such difference in init behavior: in old version 'sysinit' action was called
with run() function, so other init actions (such as 'askfirst' - shells on
virtual consoles) could be running at the same time. But in the latest
version sysinit action is called with waitfor() function, and all other
actions wait for it's completion.
I found this place in source and changed 'waitfor' to 'run' to check my
guess. But the question still exists:
What for it has been made? For now I have no idea, from where I can call
other start scripts, except rcS... But I need virtual consoles. :)
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090709/6c9d77b3/attachment.htm>


More information about the busybox mailing list