| 1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
1 | # ChangeLog for Gentoo Linux System Intialization ("rc") scripts |
| 2 | # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
2 | # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL |
| 3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
3 | # Written by Daniel Robbins (drobbins@gentoo.org) |
| 4 | |
4 | |
|
|
5 | 29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
6 | |
|
|
7 | Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug #20140. |
|
|
8 | |
| 5 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
9 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 6 | |
10 | |
| 7 | Add some patches from Rach: |
11 | Add various patches from Rachel Holmes <rach@gmx.net>: |
| 8 | |
12 | |
| 9 | Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that |
13 | Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that |
| 10 | purpose. Modified: |
14 | purpose. Modified: |
| 11 | |
15 | |
| 12 | /etc/init.d/net.ppp0 |
16 | /etc/init.d/net.ppp0 |
| 13 | /etc/init.d/nscd |
17 | /etc/init.d/nscd |
| 14 | /sbin/functions.sh |
18 | /sbin/functions.sh |
| 15 | /sbin/rc |
19 | /sbin/rc |
| … | |
… | |
| 17 | /sbin/rc-envupdate.sh.bash |
21 | /sbin/rc-envupdate.sh.bash |
| 18 | /sbin/runscript.sh |
22 | /sbin/runscript.sh |
| 19 | |
23 | |
| 20 | Exchanged some gratuitous use of awk for grep. Awk is a little resource |
24 | Exchanged some gratuitous use of awk for grep. Awk is a little resource |
| 21 | hungry just for a simple test. (I [azarah] did not apply the changes to |
25 | hungry just for a simple test. (I [azarah] did not apply the changes to |
| 22 | tests for 'devfs', as having 'usbdevfs' in the equation will break |
26 | tests for 'devfs', as having 'usbdevfs' in the equation will break |
| 23 | things). Modified /sbin/rc for this. |
27 | things). Modified /sbin/rc for this. |
| 24 | |
28 | |
| 25 | Gentoo enforces having /proc, so uname -r is a little redundant when the |
29 | Gentoo enforces having /proc, so uname -r is a little redundant when the |
| 26 | information is available without an external command. Modified: |
30 | information is available without an external command. Modified: |
| 27 | |
31 | |
| 28 | /etc/init.d/modules |
32 | /etc/init.d/modules |
| 29 | /etc/init.d/serial |
33 | /etc/init.d/serial |
| 30 | /sbin/functions.sh |
34 | /sbin/functions.sh |
| 31 | /sbin/modules-update |
35 | /sbin/modules-update |
| 32 | |
36 | |
| 33 | Changed 'id -u' commands to use $EUID in bash executed scripts, same |
37 | Changed 'id -u' commands to use $EUID in bash executed scripts, same |
| 34 | result no extra command. Modified: |
38 | result no extra command. Modified: |
| 35 | |
39 | |
| 36 | /sbin/rc-envupdate.sh |
40 | /sbin/rc-envupdate.sh |
| 37 | /sbin/rc-envupdate.sh.bash |
41 | /sbin/rc-envupdate.sh.bash |
| 38 | /sbin/rc-update |
42 | /sbin/rc-update |
| 39 | |
43 | |
| 40 | Removed all the cat sections, and the separate echo sections. The output |
44 | Removed all the cat sections, and the separate echo sections. The output |
| 41 | is _exactly_ the same, minus some spare spaces that have been removed. |
45 | is _exactly_ the same, minus some spare spaces that have been removed. |
| 42 | Fourfold speed increase in the (granted flimsy) tests I have done. |
46 | Fourfold speed increase in the (granted flimsy) tests I have done. |
| 43 | Modified /sbin/rc-help.sh for this. |
47 | Modified /sbin/rc-help.sh for this. |
| 44 | |
48 | |
| 45 | Final remaining 'cat' commands removed, in favour of using bash's internal |
49 | Final remaining 'cat' commands removed, in favour of using bash's internal |
| 46 | '$(< )' or 'echo'. Use of echo leads the way to future support for bash's |
50 | '$(< )' or 'echo'. Use of echo leads the way to future support for bash's |
| 47 | i18n anyway. Modified: |
51 | i18n anyway. Modified: |
| 48 | |
52 | |
| … | |
… | |
| 74 | |
78 | |
| 75 | Change the swap comments in /sbin/rc to "Activating (possible) swap" to |
79 | Change the swap comments in /sbin/rc to "Activating (possible) swap" to |
| 76 | be more 'generic' ? Only try to disable swap if any devices/files was |
80 | be more 'generic' ? Only try to disable swap if any devices/files was |
| 77 | activated. This should close bug #19089. |
81 | activated. This should close bug #19089. |
| 78 | |
82 | |
| 79 | Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to |
83 | Fix /etc/init.d/checkroot to only remount / rw if not set explicitly to |
| 80 | rw in /etc/fstab, bug #19158. |
84 | rw in /etc/fstab, bug #19158. |
| 81 | |
85 | |
| 82 | 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
86 | 24 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 83 | |
87 | |
| 84 | Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called, |
88 | Fix /etc/init.d/net.ppp0 to do the right thing if stopped was called, |
| 85 | but the ppp link was already down, bug #15333. |
89 | but the ppp link was already down, bug #15333. |