]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-man.patch
for logrotate
[packages/SysVinit.git] / sysvinit-man.patch
CommitLineData
4c6d9417 1diff -Nur sysvinit-2.76/man/halt.8 sysvinit-2.76.pld/man/halt.8
2--- sysvinit-2.76/man/halt.8 Tue Feb 24 23:30:15 1998
c73a1979 3+++ sysvinit-2.76.pld/man/halt.8 Sun May 23 10:03:41 1999
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
8-\fB/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or
9+\fB/var/log/wtmpx\fP, and then either tells the kernel to halt, reboot or
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).
13@@ -44,7 +44,7 @@
14 Don't sync before reboot or halt.
15 .IP \fB\-w\fP
16 Don't actually reboot or halt but only write the wtmp record
17-(in the \fB/var/log/wtmp\fP file).
18+(in the \fB/var/log/wtmpx\fP file).
19 .IP \fB\-d\fP
20 Don't write the wtmp record. The \fB\-n\fP flag implies \fB\-d\fP.
21 .IP \fB\-f\fP
22diff -Nur sysvinit-2.76/man/init.8 sysvinit-2.76.pld/man/init.8
23--- sysvinit-2.76/man/init.8 Tue May 19 10:27:19 1998
c73a1979 24+++ sysvinit-2.76.pld/man/init.8 Sun May 23 10:06:35 1999
4c6d9417 25@@ -74,11 +74,11 @@
26 are processed.
27 .PP
28 When starting a new process, \fBinit\fP first checks whether the file
29-\fI/etc/initscript\fP exists. If it does, it uses this script to
c73a1979 30+\fI/etc/sysconfig/initscript\fP exists. If it does, it uses this script to
4c6d9417 31 start the process.
32 .PP
33 Each time a child terminates, \fBinit\fP records the fact and the reason
34-it died in \fB/var/run/utmp\fP and \fB/var/log/wtmp\fP,
35+it died in \fB/var/run/utmpx\fP and \fB/var/log/wtmpx\fP,
36 provided that these files exist.
37 .SH CHANGING RUNLEVELS
38 After it has spawned all of the processes specified, \fBinit\fP waits
39@@ -229,11 +229,11 @@
40 .SH FILES
41 .nf
42 /etc/inittab
43-/etc/initscript
c73a1979 44+/etc/sysconfig/initscript
4c6d9417 45 /dev/console
46 /etc/ioctl.save
47-/var/run/utmp
48-/var/log/wtmp
49+/var/run/utmpx
50+/var/log/wtmpx
51 /dev/initctl
52 .fi
53 .\"}}}
54diff -Nur sysvinit-2.76/man/initscript.5 sysvinit-2.76.pld/man/initscript.5
55--- sysvinit-2.76/man/initscript.5 Fri Jun 14 15:35:00 1996
c73a1979 56+++ sysvinit-2.76.pld/man/initscript.5 Sun May 23 10:05:32 1999
4c6d9417 57@@ -2,15 +2,15 @@
58 .SH NAME
59 initscript \- script that executes inittab commands.
60 .SH SYNOPSIS
61-/bin/sh /etc/initscript id runlevels action process
c73a1979 62+/bin/sh /etc/sysconfig/initscript id runlevels action process
4c6d9417 63 .SH DESCRIPTION
64-When the shell script \fI/etc/initscript\fP is present, \fBinit\fP
c73a1979 65+When the shell script \fI/etc/sysconfig/initscript\fP is present, \fBinit\fP
4c6d9417 66 will use it to execute the commands from \fIinittab\fP.
67 This script can be used to set things like \fBulimit\fP and
68 \fBumask\fP default values for every process.
69 .SH EXAMPLES
70 This is a sample initscript, which might be installed on your
71-system as \fI/etc/initscript.sample\fP.
c73a1979 72+system as \fI/etc/sysconfig/initscript.sample\fP.
4c6d9417 73 .RS
74 .sp
75 .nf
76@@ -20,7 +20,7 @@
77 # initscript Executed by init(8) for every program it
78 # wants to spawn like this:
79 #
80-# /bin/sh /etc/initscript <id> <level> <action> <process>
c73a1979 81+# /bin/sh /etc/sysconfig/initscript <id> <level> <action> <process>
4c6d9417 82 #
83
84 # Set umask to safe level, and enable core dumps.
85@@ -36,7 +36,7 @@
86 .RE
87 .SH FILES
88 /etc/inittab,
89-/etc/initscript.
c73a1979 90+/etc/sysconfig/initscript.
4c6d9417 91 .SH AUTHOR
92 Miquel van Smoorenburg ,<miquels@cistron.nl>
93 .SH "SEE ALSO"
94diff -Nur sysvinit-2.76/man/last.1 sysvinit-2.76.pld/man/last.1
95--- sysvinit-2.76/man/last.1 Sun Mar 29 03:04:56 1998
c73a1979 96+++ sysvinit-2.76.pld/man/last.1 Sun May 23 10:03:41 1999
4c6d9417 97@@ -1,10 +1,10 @@
98 .\"{{{}}}
99 .\"{{{ Title
100-.TH LAST,LASTB 1 "Mar 28, 1998" "" "Linux System Administrator's Manual"
101+.TH LAST 1 "Mar 28, 1998" "" "Linux System Administrator's Manual"
102 .\"}}}
103 .\"{{{ Name
104 .SH NAME
105-last, lastb \- show listing of last logged in users
106+last \- show listing of last logged in users
107 .\"}}}
108 .\"{{{ Synopsis
109 .SH SYNOPSIS
110@@ -17,19 +17,11 @@
111 .RI [ name... ]
112 .RI [ tty... ]
113 .br
114-.B lastb
115-.RB [ \-R ]
116-.RB [ \-\fInum\fP ]
117-.RB "[ \-\fBn\fP \fInum\fP ]"
118-.RB "[ \-\fBf\fP \fIfile\fP ]"
119-.RB [ \-adox ]
120-.RI [ name... ]
121-.RI [ tty... ]
122 .\"}}}
123 .\"{{{ Description
124 .SH DESCRIPTION
125 .B Last
126-searches back through the file \fB/var/log/wtmp\fP (or the file
127+searches back through the file \fB/var/log/wtmpx\fP (or the file
128 designated by the \fB\-f\fP flag) and displays a list of all
129 users logged in (and out) since that file was created. Names of users
130 and tty's can be given, in which case \fBlast\fP will show only those entries
131@@ -45,8 +37,6 @@
132 Thus \fBlast reboot\fP will show a log of all reboots since the log file
133 was created.
134 .PP
135-\fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
136-of the file \fB/var/log/btmp\fP, which contains all the bad login attempts.
137 .\"}}}
138 .\"{{{ Options
139 .SH OPTIONS
140@@ -69,16 +59,15 @@
141 Display the system shutdown entries and run level changes.
142 .\"}}}
143 .SH NOTES
144-The files \fIwtmp\fP and \fIbtmp\fP might not be found. The system only
145-logs information in these files if they are present. This is a local
146+The file \fIwtmpx\fP might not be found. The system only logs
147+information in these files if they are present. This is a local
148 configuration issue. If you want the files to be used, they can be
149 created with a simple \fBtouch\fP(1) command (for example,
150-\fItouch /var/log/wtmp\fP).
151+\fItouch /var/log/wtmpx\fP).
152 .\"{{{ Files
153 .SH FILES
154-/var/log/wtmp
155+/var/log/wtmpx
156 .br
157-/var/log/btmp
158 .\"}}}
159 .\"{{{ Author
160 .SH AUTHOR
161diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
162--- sysvinit-2.76/man/runlevel.8 Tue May 27 12:33:54 1997
c73a1979 163+++ sysvinit-2.76.pld/man/runlevel.8 Sun May 23 10:03:41 1999
4c6d9417 164@@ -3,20 +3,20 @@
165 runlevel -- find the current and previous system runlevel.
166 .SH SYNOPSIS
167 .B runlevel
168-.RI [ utmp ]
169+.RI [ utmpx ]
170 .SH DESCRIPTION
171 .B Runlevel
172 reads the system
173-.I utmp
174+.I utmpx
175 file (typically
176-.IR /var/run/utmp )
177+.IR /var/run/utmpx )
178 to locate the runlevel record, and then
179 prints the previous and current system runlevel on its standard output,
180 separated by a single space. If there is no previous system
181 runlevel, the letter \fBN\fP will be printed instead.
182 .PP
183 If no
184-.I utmp
185+.I utmpx
186 file exists, or if no runlevel record can be found,
187 .B runlevel
188 prints the word \fBunknown\fP and exits with an error.
189@@ -28,12 +28,12 @@
190 is also available in the environment variables \fBRUNLEVEL\fP and
191 \fBPREVLEVEL\fP.
192 .SH OPTIONS
193-.\"{{{ utmp
194-.IP \fIutmp\fP
195-The name of the \fIutmp\fP file to read.
196+.\"{{{ utmpx
197+.IP \fIutmpx\fP
198+The name of the \fIutmpx\fP file to read.
199 .\"}}}
200 .SH SEE ALSO
201 .BR init (8),
202-.BR utmp (5)
203+.BR utmpx (5)
204 .SH AUTHOR
205 Miquel van Smoorenburg, miquels@cistron.nl
206diff -Nur sysvinit-2.76/man/shutdown.8 sysvinit-2.76.pld/man/shutdown.8
207--- sysvinit-2.76/man/shutdown.8 Mon Jun 22 12:43:59 1998
c73a1979 208+++ sysvinit-2.76.pld/man/shutdown.8 Sun May 23 10:03:41 1999
4c6d9417 209@@ -128,7 +128,7 @@
210 argument (add this to the invocation of shutdown in /etc/inittab),
211 it checks to see if the file \fI/etc/shutdown.allow\fP is present.
212 It then compares the login names in that file with the list of people
213-that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only
214+that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only
215 if one of those authorized users \fBor root\fP is logged in, it will
216 proceed. Otherwise it will write the message
217 .sp 1
This page took 0.134438 seconds and 4 git commands to generate.