From aee28b32920c099fc12c296434ff12f6fba51799 Mon Sep 17 00:00:00 2001 From: Jesse Smith Date: Sat, 14 Apr 2018 19:19:18 -0300 Subject: [PATCH] Updated init page to reference the initctl manual page instead of telling people to read the source code to learn how to use the /run/initctl named pipe. Updated Makefile to install the initctl.5 manual page. --- man/init.8 | 5 +++-- src/Makefile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/man/init.8 b/man/init.8 index 0f23567..2adc1a2 100644 --- a/man/init.8 +++ b/man/init.8 @@ -145,8 +145,8 @@ the letter \fBF\fP. .PP Usage of \fBSIGPWR\fP and \fB/etc/powerstatus\fP is discouraged. Someone wanting to interact with \fBinit\fP should use the \fB/run/initctl\fP -control channel - see the source code of the \fBsysvinit\fP package -for more documentation about this. +control channel - see the initctl manual page for more documentation +about this. .PP When \fBinit\fP is requested to change the runlevel, it sends the warning signal \s-1\fBSIGTERM\fP\s0 to all processes that are undefined @@ -329,6 +329,7 @@ page by Michael Haardt (u31b3hs@pool.informatik.rwth-aachen.de). .BR runlevel (8), .BR shutdown(8), .BR kill (1), +.BR initctl (5), .BR inittab (5), .BR initscript (5), .BR utmp (5) diff --git a/src/Makefile b/src/Makefile index 9cb0a4e..65ee5db 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,7 +27,7 @@ SBIN = init halt shutdown runlevel killall5 fstab-decode USRBIN = last mesg MAN1 = last.1 lastb.1 mesg.1 -MAN5 = initscript.5 inittab.5 +MAN5 = initscript.5 inittab.5 initctl.5 MAN8 = halt.8 init.8 killall5.8 pidof.8 poweroff.8 reboot.8 runlevel.8 MAN8 += shutdown.8 telinit.8 fstab-decode.8