checked in (request 31791)
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=28
This commit is contained in:
parent
de152a853a
commit
86b6a037cd
@ -1,5 +1,7 @@
|
||||
--- man/init.8
|
||||
+++ man/init.8 2004-03-12 12:44:29.000000000 +0000
|
||||
Index: man/init.8
|
||||
===================================================================
|
||||
--- man/init.8.orig
|
||||
+++ man/init.8
|
||||
@@ -232,7 +232,7 @@ It activates the \fIkbrequest\fP action.
|
||||
.SH CONFORMING TO
|
||||
\fBInit\fP is compatible with the System V init. It works closely
|
||||
@ -9,8 +11,10 @@
|
||||
If your system uses this convention, there should be a \fIREADME\fP
|
||||
file in the directory \fI/etc/init.d\fP explaining how these scripts work.
|
||||
.\"}}}
|
||||
--- src/paths.h
|
||||
+++ src/paths.h 2004-03-12 12:45:00.000000000 +0000
|
||||
Index: src/paths.h
|
||||
===================================================================
|
||||
--- src/paths.h.orig
|
||||
+++ src/paths.h
|
||||
@@ -26,10 +26,10 @@
|
||||
#define SHELL "/bin/sh" /* Default shell */
|
||||
#define SULOGIN "/sbin/sulogin" /* Sulogin */
|
||||
|
@ -1,5 +1,7 @@
|
||||
--- src/init.c
|
||||
+++ src/init.c 2005-10-19 10:01:15.000000000 +0000
|
||||
Index: src/init.c
|
||||
===================================================================
|
||||
--- src/init.c.orig
|
||||
+++ src/init.c
|
||||
@@ -20,6 +20,14 @@
|
||||
*
|
||||
*/
|
||||
|
@ -1,5 +1,7 @@
|
||||
--- src/init.c
|
||||
+++ src/init.c 2006-08-22 13:04:27.000000000 +0000
|
||||
Index: src/init.c
|
||||
===================================================================
|
||||
--- src/init.c.orig
|
||||
+++ src/init.c
|
||||
@@ -107,6 +107,8 @@ sig_atomic_t got_signals; /* Set if we r
|
||||
int emerg_shell = 0; /* Start emergency shell? */
|
||||
int wrote_wtmp_reboot = 1; /* Set when we wrote the reboot record */
|
||||
@ -101,8 +103,10 @@
|
||||
|
||||
/*
|
||||
* Say hello to the world
|
||||
--- src/init.h
|
||||
+++ src/init.h 2006-08-22 12:29:39.000000000 +0000
|
||||
Index: src/init.h
|
||||
===================================================================
|
||||
--- src/init.h.orig
|
||||
+++ src/init.h
|
||||
@@ -99,6 +99,10 @@ typedef struct _child_ {
|
||||
extern CHILD *family;
|
||||
extern int wrote_wtmp_reboot;
|
||||
@ -121,8 +125,10 @@
|
||||
+#define D_WROTE_WTMP_RLEVEL -16
|
||||
+#define D_WROTE_UTMP_RLEVEL -17
|
||||
|
||||
--- src/utmp.c
|
||||
+++ src/utmp.c 2006-08-22 12:28:52.000000000 +0000
|
||||
Index: src/utmp.c
|
||||
===================================================================
|
||||
--- src/utmp.c.orig
|
||||
+++ src/utmp.c
|
||||
@@ -49,6 +49,12 @@ char *line) /* Which line is this */
|
||||
struct utsname uname_buf;
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
-USRBIN += utmpdump wall
|
||||
-MAN1 += mountpoint.1 wall.1
|
||||
+USRBIN += utmpdump wall mesg
|
||||
+MAN1 += utmpdump.1 mountpoint.1 wall.1 mesg.1
|
||||
+MAN1 += mountpoint.1 wall.1 mesg.1
|
||||
MAN8 += sulogin.8 bootlogd.8
|
||||
endif
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
+BIN += mountpoint
|
||||
+SBIN += sulogin
|
||||
+USRBIN += utmpdump
|
||||
+MAN1 += utmpdump.1 mountpoint.1
|
||||
+MAN1 += mountpoint.1
|
||||
+MAN8 += sulogin.8
|
||||
endif
|
||||
|
||||
@ -917,53 +917,3 @@
|
||||
#else
|
||||
time(&utmp.ut_time);
|
||||
#endif
|
||||
--- doc/utmpdump.1
|
||||
+++ doc/utmpdump.1 2010-02-08 13:41:51.154825000 +0000
|
||||
@@ -0,0 +1,47 @@
|
||||
+.TH UTMPDUMP 1 "Februar 8, 2010" "" "Linux System Administrator's Manual"
|
||||
+.SH NAME
|
||||
+utmpdump \- dump UTMP and WTMP files in raw format
|
||||
+.SH SYNOPSIS
|
||||
+.B utmpdump
|
||||
+.RB [ \-froh ]
|
||||
+.I filename
|
||||
+.SH DESCRIPTION
|
||||
+\fButmpdump\fP is a simple program to dump UTMP and WTMP files
|
||||
+in raw format, so they can be examined.
|
||||
+.SH OPTIONS
|
||||
+.IP \fB\-f\fP
|
||||
+output appended data as the file grows.
|
||||
+.IP "\fB\-r\fP"
|
||||
+reverse. Write back edited login information into utmp or wtmp files.
|
||||
+.IP \fB\-o\fP
|
||||
+use old libc5 format.
|
||||
+.IP \fB\-h\fP
|
||||
+usage information.
|
||||
+.PP
|
||||
+utmpdump can be useful in cases of corrupted utmp or wtmp entries.
|
||||
+It can dump out utmp/wtmp to an ASCII file, then that file can
|
||||
+be edited to remove bogus entries and reintegrated, using
|
||||
+.PP
|
||||
+.sp 1
|
||||
+.in +1c
|
||||
+.nf
|
||||
+\fButmpdump -r < ascii file > wtmp\fP
|
||||
+.fi
|
||||
+.in -1c
|
||||
+.sp 1
|
||||
+but be warned as
|
||||
+.B utmpdump
|
||||
+was written for debugging purpose only.
|
||||
+.SH BUGS
|
||||
+You may
|
||||
+.B not
|
||||
+use the option \fB\-r\fP as the format for the
|
||||
+utmp/wtmp files strongly depends on the
|
||||
+input format. This tool is
|
||||
+.B not
|
||||
+supported, use it at your own risk only.
|
||||
+.SH "SEE ALSO"
|
||||
+.BR last (1),
|
||||
+.BR w (1),
|
||||
+.BR who (1),
|
||||
+.BR utmp (5),
|
||||
|
@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 15:58:56 CET 2010 - werner@suse.de
|
||||
|
||||
- Add a manual page for utmpdump (bnc#576967)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 29 14:30:44 CET 2010 - werner@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user