2010-02-08 15:59:59 +01:00
|
|
|
--- man/init.8
|
|
|
|
+++ man/init.8 2004-03-12 12:44:29.000000000 +0000
|
2009-12-04 15:15:20 +01:00
|
|
|
@@ -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.
|
|
|
|
.\"}}}
|
2010-02-08 15:59:59 +01:00
|
|
|
--- src/paths.h
|
|
|
|
+++ src/paths.h 2004-03-12 12:45:00.000000000 +0000
|
2009-12-04 15:15:20 +01:00
|
|
|
@@ -26,10 +26,10 @@
|
2006-12-14 18:06:00 +01:00
|
|
|
#define SHELL "/bin/sh" /* Default shell */
|
2009-12-04 15:15:20 +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 */
|