]>
Commit | Line | Data |
---|---|---|
b299aa8c | 1 | diff -Nru sysvinit-2.85.orig/man/halt.8 sysvinit-2.85/man/halt.8 |
2 | --- sysvinit-2.85.orig/man/halt.8 Wed Nov 21 22:11:22 2001 | |
3 | +++ sysvinit-2.85/man/halt.8 Thu Apr 24 12:08:24 2003 | |
302c917c | 4 | @@ -35,7 +35,7 @@ |
4c6d9417 | 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 | |
302c917c | 10 | poweroff the system. |
11 | .PP | |
12 | If \fBhalt\fP or \fBreboot\fP is called when the system is | |
13 | @@ -52,10 +52,10 @@ | |
0c45db04 | 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 | |
302c917c | 27 | @@ -76,7 +76,7 @@ |
0c45db04 | 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 | |
b299aa8c | 36 | diff -Nru sysvinit-2.85.orig/man/init.8 sysvinit-2.85/man/init.8 |
37 | --- sysvinit-2.85.orig/man/init.8 Fri Apr 18 23:05:03 2003 | |
38 | +++ sysvinit-2.85/man/init.8 Thu Apr 24 12:11:37 2003 | |
39 | @@ -76,11 +76,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 | |
2dba56e3 | 44 | +\fI/etc/rc.d/rc.init\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 | |
b299aa8c | 53 | @@ -240,10 +240,10 @@ |
4c6d9417 | 54 | .SH FILES |
55 | .nf | |
56 | /etc/inittab | |
57 | -/etc/initscript | |
2dba56e3 | 58 | +/etc/rc.d/rc.init |
4c6d9417 | 59 | /dev/console |
4c6d9417 | 60 | -/var/run/utmp |
61 | -/var/log/wtmp | |
62 | +/var/run/utmpx | |
63 | +/var/log/wtmpx | |
64 | /dev/initctl | |
65 | .fi | |
66 | .\"}}} | |
b299aa8c | 67 | @@ -280,5 +280,5 @@ |
0c45db04 | 68 | .BR kill (1), |
69 | .BR inittab (5), | |
70 | .BR initscript (5), | |
71 | -.BR utmp (5) | |
72 | +.BR utmpx (5) | |
73 | .\"}}} | |
b299aa8c | 74 | diff -Nru sysvinit-2.85.orig/man/initscript.5 sysvinit-2.85/man/initscript.5 |
75 | --- sysvinit-2.85.orig/man/initscript.5 Fri Dec 24 23:31:21 1999 | |
76 | +++ sysvinit-2.85/man/initscript.5 Thu Apr 24 12:08:24 2003 | |
4c6d9417 | 77 | @@ -2,15 +2,15 @@ |
78 | .SH NAME | |
79 | initscript \- script that executes inittab commands. | |
80 | .SH SYNOPSIS | |
81 | -/bin/sh /etc/initscript id runlevels action process | |
2dba56e3 | 82 | +/bin/sh /etc/rc.d/rc.init id runlevels action process |
4c6d9417 | 83 | .SH DESCRIPTION |
84 | -When the shell script \fI/etc/initscript\fP is present, \fBinit\fP | |
2dba56e3 | 85 | +When the shell script \fI/etc/rc.d/rc.init\fP is present, \fBinit\fP |
4c6d9417 | 86 | will use it to execute the commands from \fIinittab\fP. |
87 | This script can be used to set things like \fBulimit\fP and | |
88 | \fBumask\fP default values for every process. | |
89 | .SH EXAMPLES | |
90 | This is a sample initscript, which might be installed on your | |
91 | -system as \fI/etc/initscript.sample\fP. | |
2dba56e3 | 92 | +system as \fI/usr/share/doc/SysVinit-2.86/initscript.sample.gz\fP. |
4c6d9417 | 93 | .RS |
94 | .sp | |
95 | .nf | |
96 | @@ -20,7 +20,7 @@ | |
97 | # initscript Executed by init(8) for every program it | |
98 | # wants to spawn like this: | |
99 | # | |
100 | -# /bin/sh /etc/initscript <id> <level> <action> <process> | |
2dba56e3 | 101 | +# /bin/sh /etc/rc.d/rc.init <id> <level> <action> <process> |
4c6d9417 | 102 | # |
103 | ||
104 | # Set umask to safe level, and enable core dumps. | |
0c45db04 | 105 | @@ -42,7 +42,7 @@ |
4c6d9417 | 106 | .RE |
107 | .SH FILES | |
108 | /etc/inittab, | |
109 | -/etc/initscript. | |
2dba56e3 | 110 | +/etc/rc.d/rc.init |
4c6d9417 | 111 | .SH AUTHOR |
112 | Miquel van Smoorenburg ,<miquels@cistron.nl> | |
113 | .SH "SEE ALSO" | |
b299aa8c | 114 | diff -Nru sysvinit-2.85.orig/man/inittab.5 sysvinit-2.85/man/inittab.5 |
115 | --- sysvinit-2.85.orig/man/inittab.5 Tue Dec 4 21:17:47 2001 | |
116 | +++ sysvinit-2.85/man/inittab.5 Thu Apr 24 12:08:24 2003 | |
117 | @@ -47,8 +47,8 @@ | |
0c45db04 | 118 | specifies the process to be executed. If the process field starts with |
119 | a `+' character, | |
120 | .B init | |
121 | -will not do utmp and wtmp accounting for that process. This is needed for | |
122 | -gettys that insist on doing their own utmp/wtmp housekeeping. This is also | |
123 | +will not do utmpx and wtmp accounting for that process. This is needed for | |
124 | +gettys that insist on doing their own utmpx/wtmpx housekeeping. This is also | |
125 | a historic bug. | |
126 | .\"}}} | |
127 | .PP | |
b299aa8c | 128 | diff -Nru sysvinit-2.85.orig/man/last.1 sysvinit-2.85/man/last.1 |
129 | --- sysvinit-2.85.orig/man/last.1 Thu Jul 29 12:50:34 1999 | |
130 | +++ sysvinit-2.85/man/last.1 Thu Apr 24 12:08:24 2003 | |
cb15cdeb | 131 | @@ -29,7 +29,7 @@ |
4c6d9417 | 132 | .\"{{{ Description |
133 | .SH DESCRIPTION | |
134 | .B Last | |
135 | -searches back through the file \fB/var/log/wtmp\fP (or the file | |
136 | +searches back through the file \fB/var/log/wtmpx\fP (or the file | |
137 | designated by the \fB\-f\fP flag) and displays a list of all | |
138 | users logged in (and out) since that file was created. Names of users | |
139 | and tty's can be given, in which case \fBlast\fP will show only those entries | |
cb15cdeb | 140 | @@ -46,7 +46,7 @@ |
4c6d9417 | 141 | was created. |
142 | .PP | |
cb15cdeb | 143 | \fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log |
4c6d9417 | 144 | -of the file \fB/var/log/btmp\fP, which contains all the bad login attempts. |
cb15cdeb | 145 | +of the file \fB/var/log/btmpx\fP, which contains all the bad login attempts. |
4c6d9417 | 146 | .\"}}} |
147 | .\"{{{ Options | |
148 | .SH OPTIONS | |
0c45db04 | 149 | @@ -67,21 +67,21 @@ |
150 | This option is like \fB-d\fP in that it displays the IP number of the remote | |
151 | host, but it displays the IP number in numbers-and-dots notation. | |
cb15cdeb | 152 | .IP \fB\-o\fP |
153 | -Read an old-type wtmp file (written by linux-libc5 applications). | |
154 | +Read an old-type wtmpx file (written by linux-libc5 applications). | |
155 | .IP \fB\-x\fP | |
4c6d9417 | 156 | Display the system shutdown entries and run level changes. |
157 | .\"}}} | |
158 | .SH NOTES | |
159 | -The files \fIwtmp\fP and \fIbtmp\fP might not be found. The system only | |
cb15cdeb | 160 | +The files \fIwtmpx\fP and \fIbtmpx\fP might not be found. The system only |
161 | logs information in these files if they are present. This is a local | |
4c6d9417 | 162 | configuration issue. If you want the files to be used, they can be |
163 | created with a simple \fBtouch\fP(1) command (for example, | |
164 | -\fItouch /var/log/wtmp\fP). | |
165 | +\fItouch /var/log/wtmpx\fP). | |
166 | .\"{{{ Files | |
167 | .SH FILES | |
168 | -/var/log/wtmp | |
169 | +/var/log/wtmpx | |
170 | .br | |
171 | -/var/log/btmp | |
cb15cdeb | 172 | +/var/log/btmpx |
4c6d9417 | 173 | .\"}}} |
174 | .\"{{{ Author | |
175 | .SH AUTHOR | |
b299aa8c | 176 | diff -Nru sysvinit-2.85.orig/man/runlevel.8 sysvinit-2.85/man/runlevel.8 |
177 | --- sysvinit-2.85.orig/man/runlevel.8 Tue May 27 12:33:54 1997 | |
178 | +++ sysvinit-2.85/man/runlevel.8 Thu Apr 24 12:08:24 2003 | |
4c6d9417 | 179 | @@ -3,20 +3,20 @@ |
180 | runlevel -- find the current and previous system runlevel. | |
181 | .SH SYNOPSIS | |
182 | .B runlevel | |
183 | -.RI [ utmp ] | |
184 | +.RI [ utmpx ] | |
185 | .SH DESCRIPTION | |
186 | .B Runlevel | |
187 | reads the system | |
188 | -.I utmp | |
189 | +.I utmpx | |
190 | file (typically | |
191 | -.IR /var/run/utmp ) | |
192 | +.IR /var/run/utmpx ) | |
193 | to locate the runlevel record, and then | |
194 | prints the previous and current system runlevel on its standard output, | |
195 | separated by a single space. If there is no previous system | |
196 | runlevel, the letter \fBN\fP will be printed instead. | |
197 | .PP | |
198 | If no | |
199 | -.I utmp | |
200 | +.I utmpx | |
201 | file exists, or if no runlevel record can be found, | |
202 | .B runlevel | |
203 | prints the word \fBunknown\fP and exits with an error. | |
204 | @@ -28,12 +28,12 @@ | |
205 | is also available in the environment variables \fBRUNLEVEL\fP and | |
206 | \fBPREVLEVEL\fP. | |
207 | .SH OPTIONS | |
208 | -.\"{{{ utmp | |
209 | -.IP \fIutmp\fP | |
210 | -The name of the \fIutmp\fP file to read. | |
211 | +.\"{{{ utmpx | |
212 | +.IP \fIutmpx\fP | |
213 | +The name of the \fIutmpx\fP file to read. | |
214 | .\"}}} | |
215 | .SH SEE ALSO | |
216 | .BR init (8), | |
217 | -.BR utmp (5) | |
218 | +.BR utmpx (5) | |
219 | .SH AUTHOR | |
220 | Miquel van Smoorenburg, miquels@cistron.nl | |
b299aa8c | 221 | diff -Nru sysvinit-2.85.orig/man/shutdown.8 sysvinit-2.85/man/shutdown.8 |
222 | --- sysvinit-2.85.orig/man/shutdown.8 Tue Oct 2 23:27:50 2001 | |
223 | +++ sysvinit-2.85/man/shutdown.8 Thu Apr 24 12:08:24 2003 | |
224 | @@ -127,7 +127,7 @@ | |
4c6d9417 | 225 | argument (add this to the invocation of shutdown in /etc/inittab), |
226 | it checks to see if the file \fI/etc/shutdown.allow\fP is present. | |
227 | It then compares the login names in that file with the list of people | |
228 | -that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only | |
229 | +that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only | |
230 | if one of those authorized users \fBor root\fP is logged in, it will | |
231 | proceed. Otherwise it will write the message | |
232 | .sp 1 |