[BusyBox] [PATCH] Allow busybox default shell to run as init.

Chris Larson clarson at elinux.org
Tue Aug 10 05:37:25 UTC 2004


On Tue, 2004-08-10 at 00:13, Fabrice Gautier wrote:
> It seems that as of now, busybox shells cannot run as init because the
> kernel calls /bin/sh with argv[0]=init and busybox use argv[0] to find which
> applet to run. This patch fix the problem by redirection the init applet to
> the default shell (the same way the sh applet is redirected) when the init
> applet is not compiled.

Recent kernel no longer have that problem.
-- 
Chris Larson - kergoth at handhelds dot org
Linux Software Systems Engineer - clarson at ti dot com
OpenZaurus Project Maintainer - http://openzaurus.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040810/395681a9/attachment-0002.pgp 


More information about the busybox mailing list