]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-nopowerstates-single.patch
- updated to 3.04
[packages/SysVinit.git] / sysvinit-nopowerstates-single.patch
1 --- sysvinit-2.86/src/init.c.single     2005-12-21 12:21:04.000000000 -0500
2 +++ sysvinit-2.86/src/init.c    2005-12-21 12:21:40.000000000 -0500
3 @@ -1153,7 +1153,7 @@
4                  *      See if we have a single user entry.
5                  */
6                 for(old = newFamily; old; old = old->next)
7 -                       if (strpbrk(old->rlevel, "S")) break;
8 +                       if (strpbrk(old->rlevel, "S") && !ISPOWER(old->action)) break;
9                 if (old == NULL)
10                         snprintf(buf, sizeof(buf), "~~:S:wait:%s\n", SHELL);
11                 else
This page took 0.080445 seconds and 3 git commands to generate.