Ignore --noclear passed by sysvinit since version 2.95-5 diff --git a/daemons/getty.c b/daemons/getty.c index 40ad4d73..cfa5b71d 100644 --- a/daemons/getty.c +++ b/daemons/getty.c @@ -160,6 +160,13 @@ main (int argc, char **argv) openlog ("getty", LOG_ODELAY|LOG_CONS|LOG_PID, LOG_AUTH); + if (argc > 1) + if (strcmp(argv[1], "--noclear") == 0) + { + argc--; + argv++; + } + /* Nothing to do .... */ if (argc != 3) {