[packages/SysVinit] - updated nopowerstates-single patch
qboosh
qboosh at pld-linux.org
Sat Nov 28 10:17:35 CET 2020
commit 91f02532c1ff8df6a6cf6c94d2b89d6caacc3a30
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 28 10:17:29 2020 +0100
- updated nopowerstates-single patch
sysvinit-nopowerstates-single.patch | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/sysvinit-nopowerstates-single.patch b/sysvinit-nopowerstates-single.patch
index c3087b1..fd8ce93 100644
--- a/sysvinit-nopowerstates-single.patch
+++ b/sysvinit-nopowerstates-single.patch
@@ -1,11 +1,11 @@
---- sysvinit-2.86/src/init.c.single 2005-12-21 12:21:04.000000000 -0500
-+++ sysvinit-2.86/src/init.c 2005-12-21 12:21:40.000000000 -0500
-@@ -1153,7 +1153,7 @@
- * See if we have a single user entry.
- */
- for(old = newFamily; old; old = old->next)
-- if (strpbrk(old->rlevel, "S")) break;
-+ if (strpbrk(old->rlevel, "S") && !ISPOWER(old->action)) break;
- if (old == NULL)
- snprintf(buf, sizeof(buf), "~~:S:wait:%s\n", SHELL);
- else
+--- sysvinit-2.98/src/init.c.orig 2020-11-27 22:45:28.430317602 +0100
++++ sysvinit-2.98/src/init.c 2020-11-28 08:02:50.399146908 +0100
+@@ -1490,7 +1490,7 @@
+ * See if we have a single user entry.
+ */
+ for(old = newFamily; old; old = old->next)
+- if (strpbrk(old->rlevel, "S")) break;
++ if (strpbrk(old->rlevel, "S") && !ISPOWER(old->action)) break;
+ if (old == NULL)
+ snprintf(buf, sizeof(buf), "~~:S:wait:%s\n", SULOGIN);
+ else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SysVinit.git/commitdiff/91f02532c1ff8df6a6cf6c94d2b89d6caacc3a30
More information about the pld-cvs-commit
mailing list