1 --- sysvinit-2.86/src/init.c.silence 2006-08-08 20:50:37.000000000 -0400
2 +++ sysvinit-2.86/src/init.c 2006-08-08 20:54:24.000000000 -0400
4 char *console_dev; /* Console device. */
5 int pipe_fd = -1; /* /dev/initctl */
6 int did_boot = 0; /* Did we already do BOOT* stuff? */
7 +int quiet = 0; /* Should we be relatively silent? */
8 int main(int, char **);
10 /* Used by re-exec part */
12 initlog(L_SY, "Trying to re-exec init");
15 - initlog(L_VB, "Switching to runlevel: %c", foo);
16 + if (!quiet) initlog(L_VB, "Switching to runlevel: %c", foo);
19 if (foo == 'Q') return runlevel;
22 * Say hello to the world
24 - initlog(L_CO, bootmsg, "booting");
25 + if (!quiet) initlog(L_CO, bootmsg, "booting");
28 * See if we have to start an emergency shell.
30 else if (!strcmp(argv[f], "-z")) {
33 + } else if (!strcmp(argv[f], "quiet")) {
35 } else if (strchr("0123456789sS", argv[f][0])
36 && strlen(argv[f]) == 1)
37 dfl_level = argv[f][0];