]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-paths.patch
- up to 2.99; rediff patches
[packages/SysVinit.git] / sysvinit-paths.patch
1 diff -urNp -x '*.orig' sysvinit-2.99.org/doc/Propaganda sysvinit-2.99/doc/Propaganda
2 --- sysvinit-2.99.org/doc/Propaganda    2021-02-21 19:02:25.000000000 +0100
3 +++ sysvinit-2.99/doc/Propaganda        2021-02-25 08:10:45.835903318 +0100
4 @@ -46,7 +46,7 @@ Some other general changes:
5    /var/run/utmp (it's also shown on the command line if you do a "ps").
6  - unreckognized options are silently ignored (such as the infamous
7    "ro" - mount root file system read only).
8 -- if the file /etc/initscript is present it will be used to launch
9 +- if the file /etc/rc.d/rc.init is present it will be used to launch
10    all programs that init starts (so that you can set a generic
11    umask, ulimit eg for ALL processes - see initscript.sample).
12  - A "sulogin" program added that always asks for the root
13 diff -urNp -x '*.orig' sysvinit-2.99.org/doc/initscript.sample sysvinit-2.99/doc/initscript.sample
14 --- sysvinit-2.99.org/doc/initscript.sample     2021-02-21 19:02:25.000000000 +0100
15 +++ sysvinit-2.99/doc/initscript.sample 2021-02-25 08:10:45.835903318 +0100
16 @@ -1,14 +1,14 @@
17  #
18 -# initscript   If this script is intalled as /etc/initscript,
19 +# initscript   If this script is intalled as /etc/rc.d/rc.init,
20  #              it is executed by init(8) for every program it
21  #              wants to spawn like this:
22  #
23 -#              /bin/sh /etc/initscript <id> <level> <action> <process>
24 +#              /bin/sh /etc/rc.d/rc.init <id> <level> <action> <process>
25  #
26  #              It can be used to set the default umask and ulimit
27  #              of all processes. By default this script is installed
28  #              as /etc/initscript.sample, so to enable it you must
29 -#              rename this script first to /etc/initscript.
30 +#              rename this script first to /etc/rc.d/rc.init.
31  #
32  # Version:     @(#)initscript 1.10 10-Dec-1995 MvS.
33  #
34 diff -urNp -x '*.orig' sysvinit-2.99.org/src/paths.h sysvinit-2.99/src/paths.h
35 --- sysvinit-2.99.org/src/paths.h       2021-02-21 19:02:25.000000000 +0100
36 +++ sysvinit-2.99/src/paths.h   2021-02-25 08:10:45.835903318 +0100
37 @@ -35,7 +35,7 @@
38  #define SDPID          "/var/run/shutdown.pid" /* PID of shutdown program */
39  #define SHELL          "/bin/sh"               /* Default shell */
40  #define SULOGIN                "/sbin/sulogin"         /* Sulogin */
41 -#define INITSCRIPT     "/etc/initscript"       /* Initscript. */
42 +#define INITSCRIPT     "/etc/rc.d/rc.init"     /* Initscript. */
43  #define PWRSTAT_OLD    "/etc/powerstatus"      /* COMPAT: SIGPWR reason (OK/BAD) */
44  #define PWRSTAT                "/var/run/powerstatus"  /* COMPAT: SIGPWR reason (OK/BAD) */
45  #define RUNLEVEL_LOG    "/var/run/runlevel"     /* neutral place to store run level */
This page took 0.199217 seconds and 4 git commands to generate.