[BusyBox] Possible Bug in BB Init
Gene Cumm
greenpuddy at stny.rr.com
Sat Mar 22 12:21:02 UTC 2003
OK, found the lines in init that cause me to have a problem. While
reading /etc/inittab, it checks for the terminal before adding it to
the linked list of actions to perform.
The attached patch moves the check from new_init_action to run and since
the action is in the list, the patch also removes it if the terminal is
invalid. This would allow the sysinit directive to create the devices
and let a shell be attached with a different directive to a device
created by the sysinit script/binary.
This patch should work perfectly on the stable tree and move easily into
the unstable tree.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: init.diff
Url: http://lists.busybox.net/pipermail/busybox/attachments/20030322/d2ea84eb/attachment.diff
More information about the busybox
mailing list