mirror of
https://github.com/troglobit/finit.git
synced 2026-10-07 16:14:21 +07:00
Honor quiet flag in kernel command line
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
+3
-5
@@ -208,9 +208,6 @@ int main()
|
||||
struct utmp entry;
|
||||
#endif
|
||||
|
||||
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
|
||||
" by " WHOAMI ")");
|
||||
|
||||
chdir("/");
|
||||
umask(022);
|
||||
|
||||
@@ -247,16 +244,17 @@ int main()
|
||||
if ((strstr(line, "finit_debug"))) {
|
||||
debug = 1;
|
||||
}
|
||||
#if 0
|
||||
if (strstr(line, "quiet")) {
|
||||
close(0);
|
||||
close(1);
|
||||
close(2);
|
||||
}
|
||||
#endif
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
puts("finit-alt " VERSION " (built " __DATE__ " " __TIME__
|
||||
" by " WHOAMI ")");
|
||||
|
||||
setsid();
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user