]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
+lastb
authorwojtek <wojtek@pld.org.pl>
Sun, 23 May 1999 13:39:53 +0000 (13:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sysvinit-man.patch -> 1.3
    sysvinit-paths.patch -> 1.2

sysvinit-man.patch
sysvinit-paths.patch

index becef6e24d3ff4a07e6f4445a83ddb930979f30c..7c2265559016ed71df3ad51d8e68e366c7b2b7ab 100644 (file)
@@ -1,6 +1,6 @@
 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
++++ sysvinit-2.76.pld/man/halt.8       Sun May 23 15:23:48 1999
 @@ -33,7 +33,7 @@
  .\"{{{  Description
  .SH DESCRIPTION
@@ -21,7 +21,7 @@ diff -Nur sysvinit-2.76/man/halt.8 sysvinit-2.76.pld/man/halt.8
  .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
++++ sysvinit-2.76.pld/man/init.8       Sun May 23 15:23:48 1999
 @@ -74,11 +74,11 @@
  are processed.
  .PP
@@ -53,7 +53,7 @@ diff -Nur sysvinit-2.76/man/init.8 sysvinit-2.76.pld/man/init.8
  .\"}}}
 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
++++ sysvinit-2.76.pld/man/initscript.5 Sun May 23 15:23:48 1999
 @@ -2,15 +2,15 @@
  .SH NAME
  initscript \- script that executes inittab commands.
@@ -93,33 +93,8 @@ diff -Nur sysvinit-2.76/man/initscript.5 sysvinit-2.76.pld/man/initscript.5
  .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.76.pld/man/last.1       Sun May 23 15:28:40 1999
+@@ -29,7 +29,7 @@
  .\"{{{  Description
  .SH DESCRIPTION
  .B Last
@@ -128,23 +103,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
+@@ -46,7 +46,7 @@
  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 @@
+@@ -64,21 +64,21 @@
+ host but its IP number as well. This option translates the IP number
+ back into a hostname.
+ .IP \fB\-o\fP
+-Read an old-type wtmp file (written by linux-libc5 applications).
++Read an old-type wtmpx file (written by linux-libc5 applications).
+ .IP \fB\-x\fP
  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,12 +135,13 @@ 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
++++ sysvinit-2.76.pld/man/runlevel.8   Sun May 23 15:23:48 1999
 @@ -3,20 +3,20 @@
  runlevel -- find the current and previous system runlevel.
  .SH SYNOPSIS
@@ -205,7 +186,7 @@ diff -Nur sysvinit-2.76/man/runlevel.8 sysvinit-2.76.pld/man/runlevel.8
  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
++++ sysvinit-2.76.pld/man/shutdown.8   Sun May 23 15:23:48 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.
index fc07aa961075b1ac02c10c59552baacfeefd4523..47f7ac1214651553f371e081cc8c32aa20882f58 100644 (file)
@@ -1,6 +1,6 @@
 diff -Nur sysvinit-2.76/src/Makefile sysvinit-2.76.pld/src/Makefile
 --- sysvinit-2.76/src/Makefile Wed Sep  2 14:04:07 1998
-+++ sysvinit-2.76.pld/src/Makefile     Sun May 23 10:03:41 1999
++++ sysvinit-2.76.pld/src/Makefile     Sun May 23 15:39:08 1999
 @@ -8,8 +8,9 @@
  # Version:    @(#)Makefile  2.75  30-Jul-1998  miquels@cistron.nl
  #
@@ -28,7 +28,7 @@ diff -Nur sysvinit-2.76/src/Makefile sysvinit-2.76.pld/src/Makefile
                cd $(ROOT)/sbin; ln -sf init telinit; chown $(BIN_COMBO) telinit
                cd $(ROOT)/bin; ln -sf ../sbin/killall5 pidof; chown $(BIN_COMBO) pidof
 -              cd $(ROOT)/usr/bin; ln -sf last lastb; chown $(BIN_COMBO) lastb
-+              # cd $(ROOT)/usr/bin; ln -sf last lastb; chown $(BIN_COMBO) lastb
++               cd $(ROOT)/usr/bin; ln -sf last lastb; chown $(BIN_COMBO) lastb
                $(INSTALL) -m 644 initreq.h $(ROOT)/usr/include
 -              $(INSTALL) -m 644 ../man/*.8 $(ROOT)/usr/man/man8
 -              $(INSTALL) -m 644 ../man/*.5 $(ROOT)/usr/man/man5
@@ -45,9 +45,21 @@ diff -Nur sysvinit-2.76/src/Makefile sysvinit-2.76.pld/src/Makefile
                #
                # This part is skipped on debian systems, the
                # debian.preinst script takes care of it.
+diff -Nur sysvinit-2.76/src/last.c sysvinit-2.76.pld/src/last.c
+--- sysvinit-2.76/src/last.c   Fri May 29 15:02:58 1998
++++ sysvinit-2.76.pld/src/last.c       Sun May 23 15:35:34 1999
+@@ -234,7 +234,7 @@
+  *    Try to be smart about the location of the BTMP file
+  */
+ #ifndef BTMP_FILE
+-#define BTMP_FILE getbtmp()
++#define BTMP_FILE "/var/log/btmpx"
+ char *getbtmp()
+ {
+       static char btmp[128];
 diff -Nur sysvinit-2.76/src/paths.h sysvinit-2.76.pld/src/paths.h
 --- sysvinit-2.76/src/paths.h  Wed Nov 26 15:23:12 1997
-+++ sysvinit-2.76.pld/src/paths.h      Sun May 23 10:04:37 1999
++++ sysvinit-2.76.pld/src/paths.h      Sun May 23 15:23:48 1999
 @@ -28,7 +28,7 @@
  #define SDPID         "/var/run/shutdown.pid" /* PID of shutdown program */
  #define IOSAVE                "/etc/ioctl.save"       /* termios settings for SU */
@@ -59,7 +71,7 @@ diff -Nur sysvinit-2.76/src/paths.h sysvinit-2.76.pld/src/paths.h
  #define HALTSCRIPT2   "/etc/rc.d/rc.0"        /* Called by "fast" shutdown */
 diff -Nur sysvinit-2.76/src/utmpdump.c sysvinit-2.76.pld/src/utmpdump.c
 --- sysvinit-2.76/src/utmpdump.c       Tue Aug 13 11:57:12 1996
-+++ sysvinit-2.76.pld/src/utmpdump.c   Sun May 23 10:03:41 1999
++++ sysvinit-2.76.pld/src/utmpdump.c   Sun May 23 15:23:48 1999
 @@ -48,10 +48,10 @@
  
    for(f = 1; f < argc; f++) {
This page took 0.0373 seconds and 4 git commands to generate.