]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-man.patch
- cosmetics
[packages/SysVinit.git] / sysvinit-man.patch
1 diff -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
3 +++ sysvinit-2.76.pld/man/halt.8        Sun May 23 15:23:48 1999
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
22 diff -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
24 +++ sysvinit-2.76.pld/man/init.8        Sun May 23 15:23:48 1999
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
30 +\fI/etc/sysconfig/initscript\fP exists. If it does, it uses this script to
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
44 +/etc/sysconfig/initscript
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  .\"}}}
54 diff -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
56 +++ sysvinit-2.76.pld/man/initscript.5  Sun May 23 15:23:48 1999
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
62 +/bin/sh /etc/sysconfig/initscript id runlevels action process
63  .SH DESCRIPTION
64 -When the shell script \fI/etc/initscript\fP is present, \fBinit\fP
65 +When the shell script \fI/etc/sysconfig/initscript\fP is present, \fBinit\fP
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.
72 +system as \fI/etc/sysconfig/initscript.sample\fP.
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>
81 +# /bin/sh /etc/sysconfig/initscript <id> <level> <action> <process>
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.
90 +/etc/sysconfig/initscript.
91  .SH AUTHOR
92  Miquel van Smoorenburg ,<miquels@cistron.nl>
93  .SH "SEE ALSO"
94 diff -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
96 +++ sysvinit-2.76.pld/man/last.1        Sun May 23 15:28:40 1999
97 @@ -29,7 +29,7 @@
98  .\"{{{  Description
99  .SH DESCRIPTION
100  .B Last
101 -searches back through the file \fB/var/log/wtmp\fP (or the file
102 +searches back through the file \fB/var/log/wtmpx\fP (or the file
103  designated by the \fB\-f\fP flag) and displays a list of all
104  users logged in (and out) since that file was created.  Names of users
105  and tty's can be given, in which case \fBlast\fP will show only those entries
106 @@ -46,7 +46,7 @@
107  was created.
108  .PP
109  \fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
110 -of the file \fB/var/log/btmp\fP, which contains all the bad login attempts.
111 +of the file \fB/var/log/btmpx\fP, which contains all the bad login attempts.
112  .\"}}}
113  .\"{{{  Options
114  .SH OPTIONS
115 @@ -64,21 +64,21 @@
116  host but its IP number as well. This option translates the IP number
117  back into a hostname.
118  .IP \fB\-o\fP
119 -Read an old-type wtmp file (written by linux-libc5 applications).
120 +Read an old-type wtmpx file (written by linux-libc5 applications).
121  .IP \fB\-x\fP
122  Display the system shutdown entries and run level changes.
123  .\"}}}
124  .SH NOTES
125 -The files \fIwtmp\fP and \fIbtmp\fP might not be found. The system only
126 +The files \fIwtmpx\fP and \fIbtmpx\fP might not be found. The system only
127  logs information in these files if they are present. This is a local
128  configuration issue. If you want the files to be used, they can be
129  created with a simple \fBtouch\fP(1) command (for example, 
130 -\fItouch /var/log/wtmp\fP).
131 +\fItouch /var/log/wtmpx\fP).
132  .\"{{{  Files
133  .SH FILES
134 -/var/log/wtmp
135 +/var/log/wtmpx
136  .br
137 -/var/log/btmp
138 +/var/log/btmpx
139  .\"}}}
140  .\"{{{  Author
141  .SH AUTHOR
142 diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
143 --- sysvinit-2.76/man/runlevel.8        Tue May 27 12:33:54 1997
144 +++ sysvinit-2.76.pld/man/runlevel.8    Sun May 23 15:23:48 1999
145 @@ -3,20 +3,20 @@
146  runlevel -- find the current and previous system runlevel.
147  .SH SYNOPSIS
148  .B runlevel 
149 -.RI [ utmp ]
150 +.RI [ utmpx ]
151  .SH DESCRIPTION
152  .B Runlevel
153  reads the system
154 -.I utmp
155 +.I utmpx
156  file (typically 
157 -.IR /var/run/utmp )
158 +.IR /var/run/utmpx )
159  to locate the runlevel record, and then
160  prints the previous and current system runlevel on its standard output, 
161  separated by a single space. If there is no previous system
162  runlevel, the letter \fBN\fP will be printed instead.
163  .PP
164  If no
165 -.I utmp
166 +.I utmpx
167  file exists, or if no runlevel record can be found,
168  .B runlevel
169  prints the word \fBunknown\fP and exits with an error.
170 @@ -28,12 +28,12 @@
171  is also available in the environment variables \fBRUNLEVEL\fP and
172  \fBPREVLEVEL\fP.
173  .SH OPTIONS
174 -.\"{{{ utmp
175 -.IP \fIutmp\fP 
176 -The name of the \fIutmp\fP file to read.
177 +.\"{{{ utmpx
178 +.IP \fIutmpx\fP 
179 +The name of the \fIutmpx\fP file to read.
180  .\"}}}
181  .SH SEE ALSO
182  .BR init (8),
183 -.BR utmp (5)
184 +.BR utmpx (5)
185  .SH AUTHOR
186  Miquel van Smoorenburg, miquels@cistron.nl
187 diff -Nur sysvinit-2.76/man/shutdown.8 sysvinit-2.76.pld/man/shutdown.8
188 --- sysvinit-2.76/man/shutdown.8        Mon Jun 22 12:43:59 1998
189 +++ sysvinit-2.76.pld/man/shutdown.8    Sun May 23 15:23:48 1999
190 @@ -128,7 +128,7 @@
191  argument (add this to the invocation of shutdown in /etc/inittab),
192  it checks to see if the file \fI/etc/shutdown.allow\fP is present.
193  It then compares the login names in that file with the list of people
194 -that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only
195 +that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only
196  if one of those authorized users \fBor root\fP is logged in, it will
197  proceed. Otherwise it will write the message
198  .sp 1
This page took 0.04644 seconds and 3 git commands to generate.