2009-11-15 14:01:43 +01:00
|
|
|
Index: man/init.8
|
|
|
|
===================================================================
|
|
|
|
--- man/init.8.orig
|
|
|
|
+++ man/init.8
|
|
|
|
@@ -232,7 +232,7 @@ It activates the \fIkbrequest\fP action.
|
2006-12-14 18:06:00 +01:00
|
|
|
.SH CONFORMING TO
|
|
|
|
\fBInit\fP is compatible with the System V init. It works closely
|
|
|
|
together with the scripts in the directories
|
|
|
|
-\fI/etc/init.d\fP and \fI/etc/rc{runlevel}.d\fP.
|
|
|
|
+\fI/etc/init.d\fP and \fI/etc/init.d/rc{runlevel}.d\fP.
|
|
|
|
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.
|
|
|
|
.\"}}}
|
2009-11-15 14:01:43 +01:00
|
|
|
Index: src/paths.h
|
|
|
|
===================================================================
|
|
|
|
--- src/paths.h.orig
|
|
|
|
+++ src/paths.h
|
|
|
|
@@ -26,10 +26,10 @@
|
2006-12-14 18:06:00 +01:00
|
|
|
#define SHELL "/bin/sh" /* Default shell */
|
2009-11-15 14:01:43 +01:00
|
|
|
#define SULOGIN "/sbin/sulogin" /* Sulogin */
|
2006-12-14 18:06:00 +01:00
|
|
|
#define INITSCRIPT "/etc/initscript" /* Initscript. */
|
|
|
|
-#define PWRSTAT "/etc/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
|
|
|
|
+#define PWRSTAT "/var/run/powerstatus" /* COMPAT: SIGPWR reason (OK/BAD) */
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
-#define INITLVL "/etc/initrunlvl" /* COMPAT: New runlevel */
|
|
|
|
+#define INITLVL "/var/run/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 */
|