]> git.pld-linux.org Git - packages/SysVinit.git/blame - sysvinit-man.patch
- initscript -> rc.init
[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
cb15cdeb 3+++ sysvinit-2.76.pld/man/halt.8 Sun May 23 15:23:48 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
cb15cdeb 24+++ sysvinit-2.76.pld/man/init.8 Sun May 23 15:23:48 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
cb15cdeb 56+++ sysvinit-2.76.pld/man/initscript.5 Sun May 23 15:23:48 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
cb15cdeb 96+++ sysvinit-2.76.pld/man/last.1 Sun May 23 15:28:40 1999
97@@ -29,7 +29,7 @@
4c6d9417 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
cb15cdeb 106@@ -46,7 +46,7 @@
4c6d9417 107 was created.
108 .PP
cb15cdeb 109 \fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
4c6d9417 110-of the file \fB/var/log/btmp\fP, which contains all the bad login attempts.
cb15cdeb 111+of the file \fB/var/log/btmpx\fP, which contains all the bad login attempts.
4c6d9417 112 .\"}}}
113 .\"{{{ Options
114 .SH OPTIONS
cb15cdeb 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
4c6d9417 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
cb15cdeb 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
4c6d9417 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
cb15cdeb 138+/var/log/btmpx
4c6d9417 139 .\"}}}
140 .\"{{{ Author
141 .SH AUTHOR
142diff -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
cb15cdeb 144+++ sysvinit-2.76.pld/man/runlevel.8 Sun May 23 15:23:48 1999
4c6d9417 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
187diff -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
cb15cdeb 189+++ sysvinit-2.76.pld/man/shutdown.8 Sun May 23 15:23:48 1999
4c6d9417 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.127156 seconds and 4 git commands to generate.