[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sysvinit-devel] [PATCH] Sending processes configured via /etc/inittab t

From: Askar Safin
Subject: [sysvinit-devel] [PATCH] Sending processes configured via /etc/inittab the KILL signal
Date: Sun, 29 Jun 2014 01:06:12 +0400

Hi, please apply this patch. It makes a message less confusing. I. e. now we 
understand that init doesn't kill all processes, but instead kill mentioned in 
inittab ones. This patch is taken from "Linux From Scratch" ( ).

Askar Safin
Moscow, Russia
Moscow State University, , Faculty of Mechanics and Mathematics, 
Department of Mathematical Logic and Theory of Algorithms

diff -Naur sysvinit-2.88dsf.orig/src/init.c sysvinit-2.88dsf/src/init.c
--- sysvinit-2.88dsf.orig/src/init.c    2010-04-13 04:48:54.000000000 -0500
+++ sysvinit-2.88dsf/src/init.c 2013-12-12 16:17:34.292881603 -0600
@@ -1498,14 +1498,14 @@
                case 0: /* Send TERM signal */
                        if (talk)
-                                       "Sending processes the TERM signal");
+                                       "Sending processes configured via 
/etc/inittab the TERM signal");
                        kill(-(ch->pid), SIGTERM);
                        foundOne = 1;
                case 1: /* Send KILL signal and collect status */
                        if (talk)
-                                       "Sending processes the KILL signal");
+                                       "Sending processes configured via 
/etc/inittab the KILL signal");
                        kill(-(ch->pid), SIGKILL);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]