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