]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-man.patch
- fix version in C: rc-scripts
[packages/SysVinit.git] / sysvinit-man.patch
CommitLineData
8c5b2406
AF
1--- sysvinit-2.88dsf/man/halt.8.wiget 2009-09-10 10:28:49.000000000 +0200
2+++ sysvinit-2.88dsf/man/halt.8 2011-12-03 22:54:42.947155231 +0100
3@@ -52,7 +52,7 @@ halt, reboot, poweroff \- stop the syste
4c6d9417 4 .\"{{{ Description
5 .SH DESCRIPTION
6 \fBHalt\fP notes that the system is being brought down in the file
0c45db04 7-\fI/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or
8+\fI/var/log/wtmpx\fP, and then either tells the kernel to halt, reboot or
8c5b2406 9 power-off the system.
302c917c 10 .PP
11 If \fBhalt\fP or \fBreboot\fP is called when the system is
8c5b2406
AF
12@@ -70,10 +70,10 @@ and 6, that is when the systems shutdown
13 Don't sync before reboot or halt. Note that the kernel and storage
14 drivers may still sync.
4c6d9417 15 .IP \fB\-w\fP
0c45db04 16-Don't actually reboot or halt but only write the wtmp record
17-(in the \fI/var/log/wtmp\fP file).
18+Don't actually reboot or halt but only write the wtmpx record
19+(in the \fI/var/log/wtmpx\fP file).
4c6d9417 20 .IP \fB\-d\fP
0c45db04 21-Don't write the wtmp record. The \fB\-n\fP flag implies \fB\-d\fP.
22+Don't write the wtmpx record. The \fB\-n\fP flag implies \fB\-d\fP.
4c6d9417 23 .IP \fB\-f\fP
0c45db04 24 Force halt or reboot, don't call \fBshutdown\fP(8).
25 .IP \fB\-i\fP
8c5b2406 26@@ -94,7 +94,7 @@ Under older \fBsysvinit\fP releases , \f
0c45db04 27 never be called directly. From release 2.74 on \fBhalt\fP and \fBreboot\fP
28 invoke \fBshutdown\fP(8) if the system is not in runlevel 0 or 6. This
29 means that if \fBhalt\fP or \fBreboot\fP cannot find out the current
30-runlevel (for example, when \fI/var/run/utmp\fP hasn't been initialized
31+runlevel (for example, when \fI/var/run/utmpx\fP hasn't been initialized
32 correctly) \fBshutdown\fP will be called, which might not be what you want.
33 Use the \fB-f\fP flag if you want to do a hard \fBhalt\fP or \fBreboot\fP.
34 .PP
8c5b2406
AF
35--- sysvinit-2.88dsf/man/initscript.5.wiget 2009-09-10 10:28:49.000000000 +0200
36+++ sysvinit-2.88dsf/man/initscript.5 2011-12-03 22:52:27.399373671 +0100
37@@ -19,15 +19,15 @@
4c6d9417 38 .SH NAME
39 initscript \- script that executes inittab commands.
40 .SH SYNOPSIS
41-/bin/sh /etc/initscript id runlevels action process
2dba56e3 42+/bin/sh /etc/rc.d/rc.init id runlevels action process
4c6d9417 43 .SH DESCRIPTION
44-When the shell script \fI/etc/initscript\fP is present, \fBinit\fP
2dba56e3 45+When the shell script \fI/etc/rc.d/rc.init\fP is present, \fBinit\fP
4c6d9417 46 will use it to execute the commands from \fIinittab\fP.
47 This script can be used to set things like \fBulimit\fP and
48 \fBumask\fP default values for every process.
49 .SH EXAMPLES
50 This is a sample initscript, which might be installed on your
51-system as \fI/etc/initscript.sample\fP.
8c5b2406 52+system as \fI/usr/share/doc/SysVinit-2.88/initscript.sample.gz\fP.
4c6d9417 53 .RS
54 .sp
55 .nf
8c5b2406 56@@ -37,7 +37,7 @@ system as \fI/etc/initscript.sample\fP.
4c6d9417 57 # initscript Executed by init(8) for every program it
58 # wants to spawn like this:
59 #
60-# /bin/sh /etc/initscript <id> <level> <action> <process>
2dba56e3 61+# /bin/sh /etc/rc.d/rc.init <id> <level> <action> <process>
4c6d9417 62 #
63
64 # Set umask to safe level, and enable core dumps.
8c5b2406 65@@ -65,7 +65,7 @@ with this can make your system un(re)boo
4c6d9417 66 .RE
67 .SH FILES
68 /etc/inittab,
69-/etc/initscript.
2dba56e3 70+/etc/rc.d/rc.init
4c6d9417 71 .SH AUTHOR
72 Miquel van Smoorenburg ,<miquels@cistron.nl>
73 .SH "SEE ALSO"
8c5b2406
AF
74--- sysvinit-2.88dsf/man/last.1.wiget 2010-02-19 16:51:36.000000000 +0100
75+++ sysvinit-2.88dsf/man/last.1 2011-12-03 22:54:06.585311434 +0100
76@@ -47,7 +47,7 @@ last, lastb \- show listing of last logg
4c6d9417 77 .\"{{{ Description
78 .SH DESCRIPTION
79 .B Last
80-searches back through the file \fB/var/log/wtmp\fP (or the file
81+searches back through the file \fB/var/log/wtmpx\fP (or the file
82 designated by the \fB\-f\fP flag) and displays a list of all
83 users logged in (and out) since that file was created. Names of users
84 and tty's can be given, in which case \fBlast\fP will show only those entries
8c5b2406 85@@ -64,12 +64,12 @@ Thus \fBlast reboot\fP will show a log o
4c6d9417 86 was created.
87 .PP
cb15cdeb 88 \fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
4c6d9417 89-of the file \fB/var/log/btmp\fP, which contains all the bad login attempts.
cb15cdeb 90+of the file \fB/var/log/btmpx\fP, which contains all the bad login attempts.
4c6d9417 91 .\"}}}
92 .\"{{{ Options
93 .SH OPTIONS
8c5b2406
AF
94 .IP "\fB\-f\fP \fIfile\fP"
95-Tells \fBlast\fP to use a specific file instead of \fB/var/log/wtmp\fP.
96+Tells \fBlast\fP to use a specific file instead of \fB/var/log/wtmpx\fP.
97 .IP \fB\-\fP\fInum\fP
98 This is a count telling \fBlast\fP how many lines to show.
99 .IP "\fB\-n\fP \fInum\fP"
100@@ -101,16 +101,16 @@ Display full user and domain names in th
4c6d9417 101 Display the system shutdown entries and run level changes.
102 .\"}}}
103 .SH NOTES
104-The files \fIwtmp\fP and \fIbtmp\fP might not be found. The system only
cb15cdeb 105+The files \fIwtmpx\fP and \fIbtmpx\fP might not be found. The system only
106 logs information in these files if they are present. This is a local
4c6d9417 107 configuration issue. If you want the files to be used, they can be
108 created with a simple \fBtouch\fP(1) command (for example,
109-\fItouch /var/log/wtmp\fP).
110+\fItouch /var/log/wtmpx\fP).
111 .\"{{{ Files
112 .SH FILES
113-/var/log/wtmp
114+/var/log/wtmpx
115 .br
116-/var/log/btmp
cb15cdeb 117+/var/log/btmpx
4c6d9417 118 .\"}}}
119 .\"{{{ Author
120 .SH AUTHOR
8c5b2406
AF
121--- sysvinit-2.88dsf/man/shutdown.8.wiget 2010-03-23 15:37:01.000000000 +0100
122+++ sysvinit-2.88dsf/man/shutdown.8 2011-12-03 22:52:27.399373671 +0100
123@@ -155,7 +155,7 @@ one of the virtual consoles. If \fBshutd
124 argument (add this to the invocation of shutdown in /etc/inittab),
125 it checks to see if the file \fI/etc/shutdown.allow\fP is present.
126 It then compares the login names in that file with the list of people
127-that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only
128+that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only
129 if one of those authorized users \fBor root\fP is logged in, it will
130 proceed. Otherwise it will write the message
131 .sp 1
132--- sysvinit-2.88dsf/man/init.8.wiget 2009-09-10 10:28:49.000000000 +0200
133+++ sysvinit-2.88dsf/man/init.8 2011-12-03 22:52:27.399373671 +0100
134@@ -96,11 +96,11 @@ mounted before users can log in. Then a
135 are processed.
136 .PP
137 When starting a new process, \fBinit\fP first checks whether the file
138-\fI/etc/initscript\fP exists. If it does, it uses this script to
139+\fI/etc/rc.d/rc.init\fP exists. If it does, it uses this script to
140 start the process.
141 .PP
142 Each time a child terminates, \fBinit\fP records the fact and the reason
143-it died in \fB/var/run/utmp\fP and \fB/var/log/wtmp\fP,
144+it died in \fB/var/run/utmpx\fP and \fB/var/log/wtmpx\fP,
145 provided that these files exist.
146 .SH CHANGING RUNLEVELS
147 After it has spawned all of the processes specified, \fBinit\fP waits
148@@ -269,10 +269,10 @@ file in the directory \fI/etc/init.d\fP
149 .SH FILES
150 .nf
151 /etc/inittab
152-/etc/initscript
153+/etc/rc.d/rc.init
154 /dev/console
155-/var/run/utmp
156-/var/log/wtmp
157+/var/run/utmpx
158+/var/log/wtmpx
159 /dev/initctl
160 .fi
161 .\"}}}
162@@ -309,5 +309,5 @@ page by Michael Haardt (u31b3hs@pool.inf
163 .BR kill (1),
164 .BR inittab (5),
165 .BR initscript (5),
166-.BR utmp (5)
167+.BR utmpx (5)
168 .\"}}}
169--- sysvinit-2.88dsf/man/inittab.5.wiget 2009-09-10 10:28:49.000000000 +0200
170+++ sysvinit-2.88dsf/man/inittab.5 2011-12-03 22:52:27.399373671 +0100
171@@ -64,8 +64,8 @@ describes which action should be taken.
172 specifies the process to be executed. If the process field starts with
173 a `+' character,
174 .B init
175-will not do utmp and wtmp accounting for that process. This is needed for
176-gettys that insist on doing their own utmp/wtmp housekeeping. This is also
177+will not do utmpx and wtmp accounting for that process. This is needed for
178+gettys that insist on doing their own utmpx/wtmpx housekeeping. This is also
179 a historic bug.
180 .\"}}}
181 .PP
182--- sysvinit-2.88dsf/man/runlevel.8.wiget 2009-09-10 10:28:49.000000000 +0200
183+++ sysvinit-2.88dsf/man/runlevel.8 2011-12-03 22:52:27.399373671 +0100
184@@ -20,20 +20,20 @@
185 runlevel -- find the previous and current system runlevel.
4c6d9417 186 .SH SYNOPSIS
187 .B runlevel
188-.RI [ utmp ]
189+.RI [ utmpx ]
190 .SH DESCRIPTION
191 .B Runlevel
192 reads the system
193-.I utmp
194+.I utmpx
195 file (typically
196-.IR /var/run/utmp )
197+.IR /var/run/utmpx )
198 to locate the runlevel record, and then
199 prints the previous and current system runlevel on its standard output,
200 separated by a single space. If there is no previous system
201 runlevel, the letter \fBN\fP will be printed instead.
202 .PP
203 If no
204-.I utmp
205+.I utmpx
206 file exists, or if no runlevel record can be found,
207 .B runlevel
208 prints the word \fBunknown\fP and exits with an error.
8c5b2406 209@@ -45,12 +45,12 @@ However, in newer versions of \fBinit\fP
4c6d9417 210 is also available in the environment variables \fBRUNLEVEL\fP and
211 \fBPREVLEVEL\fP.
212 .SH OPTIONS
213-.\"{{{ utmp
214-.IP \fIutmp\fP
215-The name of the \fIutmp\fP file to read.
216+.\"{{{ utmpx
217+.IP \fIutmpx\fP
218+The name of the \fIutmpx\fP file to read.
219 .\"}}}
220 .SH SEE ALSO
221 .BR init (8),
222-.BR utmp (5)
223+.BR utmpx (5)
224 .SH AUTHOR
225 Miquel van Smoorenburg, miquels@cistron.nl
This page took 0.106488 seconds and 4 git commands to generate.