]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-nopowerstates-single.patch
b824e57b9bc2366a6c089c0c72e04b5a61eccb08
[packages/SysVinit.git] / sysvinit-nopowerstates-single.patch
1 diff -urN sysvinit-2.86.org/src/init.c sysvinit-2.86/src/init.c
2 --- sysvinit-2.86.org/src/init.c        2004-07-30 14:16:20.000000000 +0200
3 +++ sysvinit-2.86/src/init.c    2005-09-04 23:43:54.593827008 +0200
4 @@ -1151,7 +1151,7 @@
5                  *      See if we have a single user entry.
6                  */
7                 for(old = newFamily; old; old = old->next)
8 -                       if (strpbrk(old->rlevel, "S")) break;
9 +                       if (strcmp("S0123456789", old->rlevel) && strpbrk(old->rlevel, "S")) break;
10                 if (old == NULL)
11                         snprintf(buf, sizeof(buf), "~~:S:wait:%s\n", SULOGIN);
12                 else
This page took 0.026558 seconds and 2 git commands to generate.