:: Re: [DNG] Mini init script written …
Página Principal
Delete this message
Reply to this message
Autor: Adam Borowski
Data:  
Para: dng
Assunto: Re: [DNG] Mini init script written in Perl boots.
On Fri, Jun 17, 2016 at 08:19:12PM +0100, KatolaZ wrote:
> Then you can provide any other alternative definition of "init
> system", but if there is no procedure that does those things for you,
> then you have to manually do those tasks, at each reboot. In that case
> the 12-lines init might just spawn a shell


Why would you even need a separate process to spawn the shell? /bin/bash is
a perfectly capable init that can reap zombies, start processes, do any
interactive tasks, or be automated (.bashrc, trap EXIT, etc).

Specifying init=/bin/bash via grub on the cmdline is a common rescue
technique for systems with a broken init. Guess what init implementation
needs to be rescued this way most often...

--
An imaginary friend squared is a real enemy.