create core package

This commit is contained in:
aydemir
2015-02-24 11:18:35 +02:00
parent 0e4b743b82
commit 70b25d0f95
1098 changed files with 169545 additions and 0 deletions
@@ -0,0 +1,11 @@
--- sysvinit-2.86/src/init.c.foo 2006-09-21 14:46:26.000000000 -0400
+++ sysvinit-2.86/src/init.c 2006-09-21 14:47:00.000000000 -0400
@@ -959,7 +959,7 @@
* for any wait-type subprocess we _force_ the console
* to be its controlling tty.
*/
- if (strchr("*#sS", runlevel) && ch->flags & WAITING) {
+ if ((strchr("*#sS", runlevel) || (ch->id[0] == 'l' && isdigit(ch->id[1]))) && ch->flags & WAITING) {
/*
* We fork once extra. This is so that we can
* wait and change the process group and session