| 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 | |
|
|
5 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
|
|
6 | |
|
|
7 | Add some patches from Rach: |
|
|
8 | |
|
|
9 | Dropped use of 'cat' in bash scripts, '$(<$file)' is there for that |
|
|
10 | purpose. Modified: |
|
|
11 | |
|
|
12 | /etc/init.d/net.ppp0 |
|
|
13 | /etc/init.d/nscd |
|
|
14 | /sbin/functions.sh |
|
|
15 | /sbin/rc |
|
|
16 | /sbin/rc-daemon.sh |
|
|
17 | /sbin/rc-envupdate.sh.bash |
|
|
18 | /sbin/runscript.sh |
|
|
19 | |
|
|
20 | 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 |
|
|
22 | tests for 'devfs', as having 'usbdevfs' in the equation will break |
|
|
23 | things). Modified /sbin/rc for this. |
|
|
24 | |
|
|
25 | Gentoo enforces having /proc, so uname -r is a little redundant when the |
|
|
26 | information is available without an external command. Modified: |
|
|
27 | |
|
|
28 | /etc/init.d/modules |
|
|
29 | /etc/init.d/serial |
|
|
30 | /sbin/functions.sh |
|
|
31 | /sbin/modules-update |
|
|
32 | |
|
|
33 | Changed 'id -u' commands to use $EUID in bash executed scripts, same |
|
|
34 | result no extra command. Modified: |
|
|
35 | |
|
|
36 | /sbin/rc-envupdate.sh |
|
|
37 | /sbin/rc-envupdate.sh.bash |
|
|
38 | /sbin/rc-update |
|
|
39 | |
|
|
40 | 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. |
|
|
42 | Fourfold speed increase in the (granted flimsy) tests I have done. |
|
|
43 | Modified /sbin/rc-help.sh for this. |
|
|
44 | |
|
|
45 | 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 |
|
|
47 | i18n anyway. Modified: |
|
|
48 | |
|
|
49 | /sbin/rc |
|
|
50 | /sbin/rc-envupdate.sh |
|
|
51 | /sbin/rc-envupdate.sh.bash |
|
|
52 | |
|
|
53 | |
| 4 | |
54 | |
| 5 | * rc-scripts 1.4.3.6 (27 Apr 2003) |
55 | * rc-scripts 1.4.3.6 (27 Apr 2003) |
| 6 | |
56 | |
| 7 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
57 | 27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>: |
| 8 | |
58 | |