diff -rNaud sysvinit-2.86/man/initscript.5 sysvinit-2.86-new/man/initscript.5 --- sysvinit-2.86/man/initscript.5 2004-06-09 08:47:45.000000000 -0400 +++ sysvinit-2.86-new/man/initscript.5 2009-07-22 13:35:30.000000000 -0400 @@ -2,15 +2,15 @@ .SH NAME initscript \- script that executes inittab commands. .SH SYNOPSIS -/bin/sh /etc/initscript id runlevels action process +/bin/sh /sbin/initscript id runlevels action process .SH DESCRIPTION -When the shell script \fI/etc/initscript\fP is present, \fBinit\fP +When the shell script \fI/sbin/initscript\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/sbin/initscript.sample\fP. .RS .sp .nf @@ -20,7 +20,7 @@ # initscript Executed by init(8) for every program it # wants to spawn like this: # -# /bin/sh /etc/initscript +# /bin/sh /sbin/initscript # # Set umask to safe level, and enable core dumps. @@ -48,7 +48,7 @@ .RE .SH FILES /etc/inittab, -/etc/initscript. +/sbin/initscript. .SH AUTHOR Miquel van Smoorenburg , .SH "SEE ALSO" diff -rNaud sysvinit-2.86/src/Makefile sysvinit-2.86-new/src/Makefile --- sysvinit-2.86/src/Makefile 2004-06-09 08:47:45.000000000 -0400 +++ sysvinit-2.86-new/src/Makefile 2009-07-22 13:44:02.000000000 -0400 @@ -11,7 +11,7 @@ CC = gcc CFLAGS = -Wall -O2 -fomit-frame-pointer -D_GNU_SOURCE LDFLAGS = -s -STATIC = +STATIC = -static # For some known distributions we do not build all programs, otherwise we do. BIN = diff -rNaud sysvinit-2.86/src/initscript.sample sysvinit-2.86-new/src/initscript.sample --- sysvinit-2.86/src/initscript.sample 1997-11-26 08:06:33.000000000 -0500 +++ sysvinit-2.86-new/src/initscript.sample 2009-07-22 13:43:00.000000000 -0400 @@ -1,14 +1,14 @@ # -# initscript If this script is intalled as /etc/initscript, +# initscript If this script is intalled as /sbin/initscript, # it is executed by init(8) for every program it # wants to spawn like this: # -# /bin/sh /etc/initscript +# /bin/bash /sbin/initscript # # It can be used to set the default umask and ulimit # of all processes. By default this script is installed -# as /etc/initscript.sample, so to enable it you must -# rename this script first to /etc/initscript. +# as /sbin/initscript.sample, so to enable it you must +# rename this script first to /sbin/initscript. # # Version: @(#)initscript 1.10 10-Dec-1995 MvS. # diff -rNaud sysvinit-2.86/src/paths.h sysvinit-2.86-new/src/paths.h --- sysvinit-2.86/src/paths.h 2004-06-09 08:47:45.000000000 -0400 +++ sysvinit-2.86-new/src/paths.h 2009-07-22 13:40:05.000000000 -0400 @@ -20,21 +20,21 @@ #define INITTAB "/etc/inittab" /* Location of inittab */ #define INIT "/sbin/init" /* Location of init itself. */ #define NOLOGIN "/etc/nologin" /* Stop user logging in. */ -#define FASTBOOT "/fastboot" /* Enable fast boot. */ -#define FORCEFSCK "/forcefsck" /* Force fsck on boot */ +#define FASTBOOT "/etc/fastboot" /* Enable fast boot. */ +#define FORCEFSCK "/etc/forcefsck" /* Force fsck on boot */ #define SDPID "/var/run/shutdown.pid" /* PID of shutdown program */ -#define SHELL "/bin/sh" /* Default shell */ +#define SHELL "/bin/bash" /* Default shell */ #define SULOGIN "/sbin/sulogin" /* Sulogin */ -#define INITSCRIPT "/etc/initscript" /* Initscript. */ +#define INITSCRIPT "/sbin/initscript" /* Initscript. */ #define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */ #if 0 #define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */ #define INITLVL2 "/var/log/initrunlvl" /* COMPAT: New runlevel */ /* Note: INITLVL2 definition needs INITLVL */ -#define HALTSCRIPT1 "/etc/init.d/halt" /* Called by "fast" shutdown */ -#define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */ -#define REBOOTSCRIPT1 "/etc/init.d/reboot" /* Ditto. */ -#define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */ +#define HALTSCRIPT1 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */ +// #define HALTSCRIPT2 "/etc/rc.d/rc.0" /* Called by "fast" shutdown */ +#define REBOOTSCRIPT1 "/etc/rc.d/rc.6" /* Ditto. */ +// #define REBOOTSCRIPT2 "/etc/rc.d/rc.6" /* Ditto. */ #endif