]> git.pld-linux.org Git - packages/SysVinit.git/blobdiff - sysvinit-man.patch
- drop utmpdump, sulogin (now in util-linux); TODO: C/R with newer util-linux
[packages/SysVinit.git] / sysvinit-man.patch
index becef6e24d3ff4a07e6f4445a83ddb930979f30c..db40c9c89c912779b8e23055dc4c14e79661ccbb 100644 (file)
-diff -Nur sysvinit-2.76/man/halt.8 sysvinit-2.76.pld/man/halt.8
---- sysvinit-2.76/man/halt.8   Tue Feb 24 23:30:15 1998
-+++ sysvinit-2.76.pld/man/halt.8       Sun May 23 10:03:41 1999
-@@ -33,7 +33,7 @@
+--- sysvinit-2.88dsf/man/halt.8.wiget  2009-09-10 10:28:49.000000000 +0200
++++ sysvinit-2.88dsf/man/halt.8        2011-12-03 22:54:42.947155231 +0100
+@@ -52,7 +52,7 @@ halt, reboot, poweroff \- stop the syste
  .\"{{{  Description
  .SH DESCRIPTION
  \fBHalt\fP notes that the system is being brought down in the file
--\fB/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or
-+\fB/var/log/wtmpx\fP, and then either tells the kernel to halt, reboot or
- poweroff the system. If \fBhalt\fP or \fBreboot\fP is called when the system is
- \fInot\fP in runlevel \fB0\fP or \fB6\fP, 
- \fBshutdown\fP(8) will be invoked instead (with the flag \fB-h\fP or \fB-r\fP).
-@@ -44,7 +44,7 @@
- Don't sync before reboot or halt.
+-\fI/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or
++\fI/var/log/wtmpx\fP, and then either tells the kernel to halt, reboot or
+ power-off the system.
+ .PP
+ If \fBhalt\fP or \fBreboot\fP is called when the system is
+@@ -70,10 +70,10 @@ and 6, that is when the systems shutdown
+ Don't sync before reboot or halt. Note that the kernel and storage
+ drivers may still sync.
  .IP \fB\-w\fP
- Don't actually reboot or halt but only write the wtmp record
--(in the \fB/var/log/wtmp\fP file).
-+(in the \fB/var/log/wtmpx\fP file).
+-Don't actually reboot or halt but only write the wtmp record
+-(in the \fI/var/log/wtmp\fP file).
++Don't actually reboot or halt but only write the wtmpx record
++(in the \fI/var/log/wtmpx\fP file).
  .IP \fB\-d\fP
- Don't write the wtmp record. The \fB\-n\fP flag implies \fB\-d\fP.
+-Don't write the wtmp record. The \fB\-n\fP flag implies \fB\-d\fP.
++Don't write the wtmpx record. The \fB\-n\fP flag implies \fB\-d\fP.
  .IP \fB\-f\fP
-diff -Nur sysvinit-2.76/man/init.8 sysvinit-2.76.pld/man/init.8
---- sysvinit-2.76/man/init.8   Tue May 19 10:27:19 1998
-+++ sysvinit-2.76.pld/man/init.8       Sun May 23 10:06:35 1999
-@@ -74,11 +74,11 @@
- are processed.
- .PP
- When starting a new process, \fBinit\fP first checks whether the file
--\fI/etc/initscript\fP exists. If it does, it uses this script to
-+\fI/etc/sysconfig/initscript\fP exists. If it does, it uses this script to
start the process.
+ Force halt or reboot, don't call \fBshutdown\fP(8).
+ .IP \fB\-i\fP
+@@ -94,7 +94,7 @@ Under older \fBsysvinit\fP releases , \f
+ never be called directly. From release 2.74 on \fBhalt\fP and \fBreboot\fP
+ invoke \fBshutdown\fP(8) if the system is not in runlevel 0 or 6. This
+ means that if \fBhalt\fP or \fBreboot\fP cannot find out the current
+-runlevel (for example, when \fI/var/run/utmp\fP hasn't been initialized
++runlevel (for example, when \fI/var/run/utmpx\fP hasn't been initialized
+ correctly) \fBshutdown\fP will be called, which might not be what you want.
Use the \fB-f\fP flag if you want to do a hard \fBhalt\fP or \fBreboot\fP.
  .PP
- Each time a child terminates, \fBinit\fP records the fact and the reason
--it died in \fB/var/run/utmp\fP and \fB/var/log/wtmp\fP,
-+it died in \fB/var/run/utmpx\fP and \fB/var/log/wtmpx\fP,
- provided that these files exist.
- .SH CHANGING RUNLEVELS
- After it has spawned all of the processes specified, \fBinit\fP waits
-@@ -229,11 +229,11 @@
- .SH FILES
- .nf
- /etc/inittab
--/etc/initscript
-+/etc/sysconfig/initscript
- /dev/console
- /etc/ioctl.save
--/var/run/utmp
--/var/log/wtmp
-+/var/run/utmpx
-+/var/log/wtmpx
- /dev/initctl
- .fi
- .\"}}}
-diff -Nur sysvinit-2.76/man/initscript.5 sysvinit-2.76.pld/man/initscript.5
---- sysvinit-2.76/man/initscript.5     Fri Jun 14 15:35:00 1996
-+++ sysvinit-2.76.pld/man/initscript.5 Sun May 23 10:05:32 1999
-@@ -2,15 +2,15 @@
+--- sysvinit-2.88dsf/man/initscript.5.wiget    2009-09-10 10:28:49.000000000 +0200
++++ sysvinit-2.88dsf/man/initscript.5  2011-12-03 22:52:27.399373671 +0100
+@@ -19,15 +19,15 @@
  .SH NAME
  initscript \- script that executes inittab commands.
  .SH SYNOPSIS
 -/bin/sh /etc/initscript id runlevels action process
-+/bin/sh /etc/sysconfig/initscript id runlevels action process
++/bin/sh /etc/rc.d/rc.init id runlevels action process
  .SH DESCRIPTION
 -When the shell script \fI/etc/initscript\fP is present, \fBinit\fP
-+When the shell script \fI/etc/sysconfig/initscript\fP is present, \fBinit\fP
++When the shell script \fI/etc/rc.d/rc.init\fP is present, \fBinit\fP
  will use it to execute the commands from \fIinittab\fP.
  This script can be used to set things like \fBulimit\fP and
  \fBumask\fP default values for every process.
  .SH EXAMPLES
  This is a sample initscript, which might be installed on your
 -system as \fI/etc/initscript.sample\fP.
-+system as \fI/etc/sysconfig/initscript.sample\fP.
++system as \fI/usr/share/doc/SysVinit-2.88/initscript.sample.gz\fP.
  .RS
  .sp
  .nf
-@@ -20,7 +20,7 @@
+@@ -37,7 +37,7 @@ system as \fI/etc/initscript.sample\fP.
  # initscript   Executed by init(8) for every program it
  #              wants to spawn like this:
  #
 -#              /bin/sh /etc/initscript <id> <level> <action> <process>
-+# /bin/sh /etc/sysconfig/initscript <id> <level> <action> <process>
++# /bin/sh /etc/rc.d/rc.init <id> <level> <action> <process>
  #
  
    # Set umask to safe level, and enable core dumps.
-@@ -36,7 +36,7 @@
+@@ -65,7 +65,7 @@ with this can make your system un(re)boo
  .RE
  .SH FILES
  /etc/inittab,
 -/etc/initscript.
-+/etc/sysconfig/initscript.
++/etc/rc.d/rc.init
  .SH AUTHOR
  Miquel van Smoorenburg ,<miquels@cistron.nl>
  .SH "SEE ALSO"
-diff -Nur sysvinit-2.76/man/last.1 sysvinit-2.76.pld/man/last.1
---- sysvinit-2.76/man/last.1   Sun Mar 29 03:04:56 1998
-+++ sysvinit-2.76.pld/man/last.1       Sun May 23 10:03:41 1999
-@@ -1,10 +1,10 @@
- .\"{{{}}}
- .\"{{{  Title
--.TH LAST,LASTB 1 "Mar 28, 1998" "" "Linux System Administrator's Manual"
-+.TH LAST 1 "Mar 28, 1998" "" "Linux System Administrator's Manual"
- .\"}}}
- .\"{{{  Name
- .SH NAME
--last, lastb \- show listing of last logged in users
-+last \- show listing of last logged in users
- .\"}}}
- .\"{{{  Synopsis
- .SH SYNOPSIS
-@@ -17,19 +17,11 @@
- .RI [ name... ]
- .RI [ tty... ]
- .br
--.B lastb
--.RB [ \-R ]
--.RB [ \-\fInum\fP ]
--.RB "[ \-\fBn\fP \fInum\fP ]"
--.RB "[ \-\fBf\fP \fIfile\fP ]"
--.RB [ \-adox ]
--.RI [ name... ]
--.RI [ tty... ]
- .\"}}}
+--- sysvinit-2.88dsf/man/last.1.wiget  2010-02-19 16:51:36.000000000 +0100
++++ sysvinit-2.88dsf/man/last.1        2011-12-03 22:54:06.585311434 +0100
+@@ -47,7 +47,7 @@ last, lastb \- show listing of last logg
  .\"{{{  Description
  .SH DESCRIPTION
  .B Last
@@ -128,23 +82,28 @@ diff -Nur sysvinit-2.76/man/last.1 sysvinit-2.76.pld/man/last.1
  designated by the \fB\-f\fP flag) and displays a list of all
  users logged in (and out) since that file was created.  Names of users
  and tty's can be given, in which case \fBlast\fP will show only those entries
-@@ -45,8 +37,6 @@
- Thus \fBlast reboot\fP will show a log of all reboots since the log file
+@@ -64,12 +64,12 @@ Thus \fBlast reboot\fP will show a log o
  was created.
  .PP
--\fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
+ \fBLastb\fP is the same as \fBlast\fP, except that by default it shows a log
 -of the file \fB/var/log/btmp\fP, which contains all the bad login attempts.
++of the file \fB/var/log/btmpx\fP, which contains all the bad login attempts.
  .\"}}}
  .\"{{{  Options
  .SH OPTIONS
-@@ -69,16 +59,15 @@
+ .IP "\fB\-f\fP \fIfile\fP"
+-Tells \fBlast\fP to use a specific file instead of \fB/var/log/wtmp\fP.
++Tells \fBlast\fP to use a specific file instead of \fB/var/log/wtmpx\fP.
+ .IP \fB\-\fP\fInum\fP
+ This is a count telling \fBlast\fP how many lines to show.
+ .IP "\fB\-n\fP \fInum\fP"
+@@ -101,16 +101,16 @@ Display full user and domain names in th
  Display the system shutdown entries and run level changes.
  .\"}}}
  .SH NOTES
 -The files \fIwtmp\fP and \fIbtmp\fP might not be found. The system only
--logs information in these files if they are present. This is a local
-+The file \fIwtmpx\fP might not be found. The system only logs 
-+information in these files if they are present. This is a local
++The files \fIwtmpx\fP and \fIbtmpx\fP might not be found. The system only
+ logs information in these files if they are present. This is a local
  configuration issue. If you want the files to be used, they can be
  created with a simple \fBtouch\fP(1) command (for example, 
 -\fItouch /var/log/wtmp\fP).
@@ -155,14 +114,75 @@ diff -Nur sysvinit-2.76/man/last.1 sysvinit-2.76.pld/man/last.1
 +/var/log/wtmpx
  .br
 -/var/log/btmp
++/var/log/btmpx
  .\"}}}
  .\"{{{  Author
  .SH AUTHOR
-diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
---- sysvinit-2.76/man/runlevel.8       Tue May 27 12:33:54 1997
-+++ sysvinit-2.76.pld/man/runlevel.8   Sun May 23 10:03:41 1999
-@@ -3,20 +3,20 @@
- runlevel -- find the current and previous system runlevel.
+--- sysvinit-2.88dsf/man/shutdown.8.wiget      2010-03-23 15:37:01.000000000 +0100
++++ sysvinit-2.88dsf/man/shutdown.8    2011-12-03 22:52:27.399373671 +0100
+@@ -155,7 +155,7 @@ one of the virtual consoles. If \fBshutd
+ argument (add this to the invocation of shutdown in /etc/inittab),
+ it checks to see if the file \fI/etc/shutdown.allow\fP is present.
+ It then compares the login names in that file with the list of people
+-that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only
++that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only
+ if one of those authorized users \fBor root\fP is logged in, it will
+ proceed. Otherwise it will write the message
+ .sp 1
+--- sysvinit-2.88dsf/man/init.8.wiget  2009-09-10 10:28:49.000000000 +0200
++++ sysvinit-2.88dsf/man/init.8        2011-12-03 22:52:27.399373671 +0100
+@@ -96,11 +96,11 @@ mounted before users can log in.  Then a
+ are processed.
+ .PP
+ When starting a new process, \fBinit\fP first checks whether the file
+-\fI/etc/initscript\fP exists. If it does, it uses this script to
++\fI/etc/rc.d/rc.init\fP exists. If it does, it uses this script to
+ start the process.
+ .PP
+ Each time a child terminates, \fBinit\fP records the fact and the reason
+-it died in \fB/var/run/utmp\fP and \fB/var/log/wtmp\fP,
++it died in \fB/var/run/utmpx\fP and \fB/var/log/wtmpx\fP,
+ provided that these files exist.
+ .SH CHANGING RUNLEVELS
+ After it has spawned all of the processes specified, \fBinit\fP waits
+@@ -269,10 +269,10 @@ file in the directory \fI/etc/init.d\fP
+ .SH FILES
+ .nf
+ /etc/inittab
+-/etc/initscript
++/etc/rc.d/rc.init
+ /dev/console
+-/var/run/utmp
+-/var/log/wtmp
++/var/run/utmpx
++/var/log/wtmpx
+ /dev/initctl
+ .fi
+ .\"}}}
+@@ -309,5 +309,5 @@ page by Michael Haardt (u31b3hs@pool.inf
+ .BR kill (1),
+ .BR inittab (5),
+ .BR initscript (5),
+-.BR utmp (5)
++.BR utmpx (5)
+ .\"}}}
+--- sysvinit-2.88dsf/man/inittab.5.wiget       2009-09-10 10:28:49.000000000 +0200
++++ sysvinit-2.88dsf/man/inittab.5     2011-12-03 22:52:27.399373671 +0100
+@@ -64,8 +64,8 @@ describes which action should be taken.
+ specifies the process to be executed.  If the process field starts with
+ a `+' character, 
+ .B init 
+-will not do utmp and wtmp accounting for that process.  This is needed for 
+-gettys that insist on doing their own utmp/wtmp housekeeping.  This is also 
++will not do utmpx and wtmp accounting for that process.  This is needed for 
++gettys that insist on doing their own utmpx/wtmpx housekeeping.  This is also 
+ a historic bug.
+ .\"}}}
+ .PP
+--- sysvinit-2.88dsf/man/runlevel.8.wiget      2009-09-10 10:28:49.000000000 +0200
++++ sysvinit-2.88dsf/man/runlevel.8    2011-12-03 22:52:27.399373671 +0100
+@@ -20,20 +20,20 @@
+ runlevel -- find the previous and current system runlevel.
  .SH SYNOPSIS
  .B runlevel 
 -.RI [ utmp ]
@@ -186,7 +206,7 @@ diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
  file exists, or if no runlevel record can be found,
  .B runlevel
  prints the word \fBunknown\fP and exits with an error.
-@@ -28,12 +28,12 @@
+@@ -45,12 +45,12 @@ However, in newer versions of \fBinit\fP
  is also available in the environment variables \fBRUNLEVEL\fP and
  \fBPREVLEVEL\fP.
  .SH OPTIONS
@@ -203,15 +223,3 @@ diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
 +.BR utmpx (5)
  .SH AUTHOR
  Miquel van Smoorenburg, miquels@cistron.nl
-diff -Nur sysvinit-2.76/man/shutdown.8 sysvinit-2.76.pld/man/shutdown.8
---- sysvinit-2.76/man/shutdown.8       Mon Jun 22 12:43:59 1998
-+++ sysvinit-2.76.pld/man/shutdown.8   Sun May 23 10:03:41 1999
-@@ -128,7 +128,7 @@
- argument (add this to the invocation of shutdown in /etc/inittab),
- it checks to see if the file \fI/etc/shutdown.allow\fP is present.
- It then compares the login names in that file with the list of people
--that are logged in on a virtual console (from \fI/var/run/utmp\fP). Only
-+that are logged in on a virtual console (from \fI/var/run/utmpx\fP). Only
- if one of those authorized users \fBor root\fP is logged in, it will
- proceed. Otherwise it will write the message
- .sp 1
This page took 0.575422 seconds and 4 git commands to generate.