2009/9/28 Michael Schnell <mschn...@lumino.de>

> Arthur Wong wrote:
>
> >
> > I have write a small c program (only use the "system()" function to run
> > /etc/rc), and build as "init".
>
> AFAIK, not necessary thus not recommended.
>
> The init program (or script) of course should not return (stop), as it's
> the parent of all processes.
>

You are right, the "init" couldn't return. and msh have a limitless cycle as
the original init program.
After add a line "/bin/sh" at the end of /etc/rc, then i can enter the
terminal.

Thank you very much.


>
> -Michael
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>



-- 
wzc0066
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to