]> 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.98/src/init.c.orig       2020-11-27 22:45:28.430317602 +0100
2 +++ sysvinit-2.98/src/init.c    2020-11-28 08:02:50.399146908 +0100
3 @@ -1490,7 +1490,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", SULOGIN);
11                         else
This page took 0.070052 seconds and 3 git commands to generate.