1 --- sysvinit-2.78/src/sulogin.c.sigint Wed Apr 19 12:25:18 2000
2 +++ sysvinit-2.78/src/sulogin.c Wed Apr 19 12:26:25 2000
4 * Try to execute a shell.
6 setenv("SHELL", sushell, 1);
7 + signal(SIGINT, SIG_DFL);
8 + signal(SIGTSTP, SIG_DFL);
9 execl(sushell, shell, NULL);
14 * See if we need to open an other tty device.
16 + signal(SIGINT, SIG_IGN);
17 + signal(SIGTSTP, SIG_IGN);
18 if (optind < argc) tty = argv[optind];
20 if ((fd = open(tty, O_RDWR)) >= 0) {