Silent init

Ross Cameron ross.cameron at linuxpro.co.za
Wed Nov 14 06:15:32 UTC 2007


On Nov 14, 2007 3:06 AM, Alan Mizrahi <alan+crux at mizrahi.com.ve> wrote:
> Well, first of all I hope you know about the "quiet" parameter that shuts up the kernel.
Yes I've been using this for a while, but I'd like the system to be
even more silent on boot.

> To silence init, you'll have to patch the source:
>
> --- sysvinit-2.86/src/init.c.orig       2007-11-13 20:59:36.778419894 -0400
> +++ sysvinit-2.86/src/init.c    2007-11-13 21:00:50.756134130 -0400
> @@ -2222,7 +2222,6 @@
>                         break;
>         }
>         if (loglevel > 0) {
> -               initlog(L_VB, "Entering runlevel: %c", runlevel);
>                 write_utmp_wtmp("runlevel", "~~", runlevel + 256 * oldlevel,
> RUN_LVL, "~");
>                 thislevel = runlevel;
>                 prevlevel = oldlevel;
Did you write this patch? If so do you mind if I use it under the same
license as sysvinit?

> Alternatively, you can try out other init alternatives (such as initng, cinit, etc), or you can just ask the king of spain for some help ;)
I've been toying with the idea of trying other inits aswell, but I
like sysvinit.



More information about the CRUX mailing list