Honor quiet flag in kernel command line

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka committed 2008-12-04 14:25:29 -02:00
1 parent 9e0b22ddb6
commit c70872f19e
1 file changed
+3 -5
+3 -5
View File
@@ -208,9 +208,6 @@ int main()
struct utmp entry; struct utmp entry;
#endif #endif
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
" by " WHOAMI ")");
chdir("/"); chdir("/");
umask(022); umask(022);
@@ -247,16 +244,17 @@ int main()
if ((strstr(line, "finit_debug"))) { if ((strstr(line, "finit_debug"))) {
debug = 1; debug = 1;
} }
#if 0
if (strstr(line, "quiet")) { if (strstr(line, "quiet")) {
close(0); close(0);
close(1); close(1);
close(2); close(2);
} }
#endif
fclose(f); fclose(f);
} }
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
" by " WHOAMI ")");
setsid(); setsid();
/* /*