init

Rob Landley rob at landley.net
Tue Nov 29 16:23:45 UTC 2005


On Tuesday 29 November 2005 09:44, hinko.kocevar at cetrtapot.si wrote:

> My inittab:
> # This is run first except when booting in single-user mode.
> #
> #::sysinit:/etc/init.d/rcS

That would be a commented out line, yes?

> The problem is - when I try to run /etc/init.d/rcS (sysinit line) the
> system executes rcS and then hangs there

Does it?  Even though it's commented out?

> - no shell is started. If I 
> comment out corresponding sysinit line shell is started (respawn line).

Does your rcS have the executable bit set?

Could you give us something we might be able to reproduce in a finite amount 
of time?

> I would like to stuff all needed initialization commands in one shell
> script and call it from rcS (preferably).
>
> Has anyone done similar?

I've abused the heck out of init in the past, but these days there's initramfs 
which is designed for this sort of thing.

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list