]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-man.patch
- touch, chown and chmod on %ghost files in %post,
[packages/SysVinit.git] / sysvinit-man.patch
CommitLineData
302c917c 1--- sysvinit-2.84/man/halt.8.orig Wed Nov 21 22:11:22 2001
2+++ sysvinit-2.84/man/halt.8 Sat Dec 1 18:12:32 2001
3@@ -35,7 +35,7 @@
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
302c917c 9 poweroff the system.
10 .PP
11 If \fBhalt\fP or \fBreboot\fP is called when the system is
12@@ -52,10 +52,10 @@
0c45db04 13 .IP \fB\-n\fP
4c6d9417 14 Don't sync before reboot or halt.
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
302c917c 26@@ -76,7 +76,7 @@
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
35diff -Nru sysvinit-2.78/man/init.8 sysvinit-2.78.new/man/init.8
36--- sysvinit-2.78/man/init.8 Fri Feb 11 12:15:07 2000
37+++ sysvinit-2.78.new/man/init.8 Sat Apr 15 20:40:11 2000
38@@ -78,11 +78,11 @@
4c6d9417 39 are processed.
40 .PP
41 When starting a new process, \fBinit\fP first checks whether the file
42-\fI/etc/initscript\fP exists. If it does, it uses this script to
c73a1979 43+\fI/etc/sysconfig/initscript\fP exists. If it does, it uses this script to
4c6d9417 44 start the process.
45 .PP
46 Each time a child terminates, \fBinit\fP records the fact and the reason
47-it died in \fB/var/run/utmp\fP and \fB/var/log/wtmp\fP,
48+it died in \fB/var/run/utmpx\fP and \fB/var/log/wtmpx\fP,
49 provided that these files exist.
50 .SH CHANGING RUNLEVELS
51 After it has spawned all of the processes specified, \fBinit\fP waits
0c45db04 52@@ -249,11 +249,11 @@
4c6d9417 53 .SH FILES
54 .nf
55 /etc/inittab
56-/etc/initscript
c73a1979 57+/etc/sysconfig/initscript
4c6d9417 58 /dev/console
59 /etc/ioctl.save
60-/var/run/utmp
61-/var/log/wtmp
62+/var/run/utmpx
63+/var/log/wtmpx
64 /dev/initctl
65 .fi
66 .\"}}}
0c45db04 67@@ -290,5 +290,5 @@
68 .BR kill (1),
69 .BR inittab (5),
70 .BR initscript (5),
71-.BR utmp (5)
72+.BR utmpx (5)
73 .\"}}}
74diff -Nru sysvinit-2.78/man/initscript.5 sysvinit-2.78.new/man/initscript.5
75--- sysvinit-2.78/man/initscript.5 Fri Dec 24 23:31:21 1999
76+++ sysvinit-2.78.new/man/initscript.5 Sat Apr 15 20:38:20 2000
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
c73a1979 82+/bin/sh /etc/sysconfig/initscript id runlevels action process
4c6d9417 83 .SH DESCRIPTION
84-When the shell script \fI/etc/initscript\fP is present, \fBinit\fP
c73a1979 85+When the shell script \fI/etc/sysconfig/initscript\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.
c73a1979 92+system as \fI/etc/sysconfig/initscript.sample\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>
c73a1979 101+# /bin/sh /etc/sysconfig/initscript <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.
c73a1979 110+/etc/sysconfig/initscript.
4c6d9417 111 .SH AUTHOR
112 Miquel van Smoorenburg ,<miquels@cistron.nl>
113 .SH "SEE ALSO"
0c45db04 114diff -Nru sysvinit-2.78/man/inittab.5 sysvinit-2.78.new/man/inittab.5
115--- sysvinit-2.78/man/inittab.5 Tue May 19 10:17:37 1998
116+++ sysvinit-2.78.new/man/inittab.5 Sat Apr 15 20:40:31 2000
117@@ -46,8 +46,8 @@
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
128diff -Nru sysvinit-2.78/man/last.1 sysvinit-2.78.new/man/last.1
129--- sysvinit-2.78/man/last.1 Thu Jul 29 12:50:34 1999
130+++ sysvinit-2.78.new/man/last.1 Sat Apr 15 20:38:20 2000
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
0c45db04 176diff -Nru sysvinit-2.78/man/runlevel.8 sysvinit-2.78.new/man/runlevel.8
177--- sysvinit-2.78/man/runlevel.8 Tue May 27 12:33:54 1997
178+++ sysvinit-2.78.new/man/runlevel.8 Sat Apr 15 20:38:20 2000
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
0c45db04 221diff -Nru sysvinit-2.78/man/shutdown.8 sysvinit-2.78.new/man/shutdown.8
222--- sysvinit-2.78/man/shutdown.8 Mon Jun 22 12:43:59 1998
223+++ sysvinit-2.78.new/man/shutdown.8 Sat Apr 15 20:38:20 2000
4c6d9417 224@@ -128,7 +128,7 @@
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
This page took 0.057611 seconds and 4 git commands to generate.