1 diff -Nru sysvinit-2.85.orig/src/Makefile sysvinit-2.85/src/Makefile
2 --- sysvinit-2.85.orig/src/Makefile Tue Nov 6 12:58:16 2001
3 +++ sysvinit-2.85/src/Makefile Thu Apr 24 12:05:06 2003
5 # Version: @(#)Makefile 2.83-3 06-Nov-2001 miquels@cistron.nl
9 -CFLAGS = -Wall -O2 -D_GNU_SOURCE
12 +CFLAGS = -Wall $(OPTIMIZE) -D_GNU_SOURCE
17 runlevel shutdown $(ROOT)/sbin
18 # These are not installed by default
20 - $(INSTALL) -m 555 utmpdump wall $(ROOT)/usr/bin
21 + $(INSTALL) -m 755 wall $(ROOT)/usr/bin
22 + $(INSTALL) -m 755 utmpdump $(ROOT)/usr/bin/utmpx-dump
24 # $(INSTALL) -m 755 etc/initscript.sample $(ROOT)/etc
25 $(INSTALL) -m 755 mesg last $(ROOT)/usr/bin
26 diff -Nru sysvinit-2.85.orig/src/paths.h sysvinit-2.85/src/paths.h
27 --- sysvinit-2.85.orig/src/paths.h Mon Apr 14 13:37:01 2003
28 +++ sysvinit-2.85/src/paths.h Thu Apr 24 12:06:06 2003
30 #define FORCEFSCK "/forcefsck" /* Force fsck on boot */
31 #define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */
32 #define SHELL "/bin/sh" /* Default shell */
33 -#define INITSCRIPT "/etc/initscript" /* Initscript. */
34 +#define INITSCRIPT "/etc/rc.d/rc.init" /* Initscript. */
35 #define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
38 diff -Nru sysvinit-2.85.orig/src/utmpdump.c sysvinit-2.85/src/utmpdump.c
39 --- sysvinit-2.85.orig/src/utmpdump.c Tue Sep 12 23:14:24 2000
40 +++ sysvinit-2.85/src/utmpdump.c Thu Apr 24 12:05:06 2003
45 - fprintf(stderr, "Utmp %sdump of %s\n", reverse ? "un" : "", argv[optind]);
46 + fprintf(stderr, "Utmpx %sdump of %s\n", reverse ? "un" : "", argv[optind]);
47 if ((fp = fopen(argv[optind], "r")) == NULL) {
48 perror("Unable to open file");
53 - fprintf(stderr, "Utmp %sdump of stdin\n", reverse ? "un" : "");
54 + fprintf(stderr, "Utmpx %sdump of stdin\n", reverse ? "un" : "");