1 |
Craig M. Reece wrote: |
2 |
> On Mon, Mar 11, 2002 at 12:48:08PM -0500, Yannick Koehler spoke thusly: |
3 |
> |
4 |
>>Guys, |
5 |
>> |
6 |
>> not sure for anyone else but is init.d really need to be protected? |
7 |
>> I mean does someone really change files in that directory (other than |
8 |
>>adding or removing)? |
9 |
>> |
10 |
>> That dir should always get merged. It would also get really nice of |
11 |
>> the portage could detect that no changes has been made to the file since |
12 |
>>its installation and therefore merge it without any issues. |
13 |
>> |
14 |
>> Like if the protected config file's time were saved in a temp files |
15 |
>> that portage would look into before merging to see if the date has or not |
16 |
>>change since the last install. |
17 |
>> |
18 |
>> |
19 |
> |
20 |
> Yes it needs to be protected. I, for instance, have my own version of |
21 |
> pcmcia in there that I don't want stepped on. Also, I have a couple of |
22 |
> other custom scripts for things not in portage yet; and when they are in |
23 |
> portage, I want to be able to compare the differences before using one |
24 |
> or the other. |
25 |
> _______________________________________________ |
26 |
> gentoo-dev mailing list |
27 |
> gentoo-dev@g.o |
28 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
29 |
> |
30 |
|
31 |
The reasoning I have is that those are scripts, and not config files. |
32 |
If ... instead of modifying pcmcia script for example like you |
33 |
mentionned you were to cp pcmcia pcmcia.modif and rc-update add |
34 |
pcmcia.modif default / rc-update del pcmcia default the system would |
35 |
work and you'll never get concerned about the new pcmcia scripts. |
36 |
|
37 |
If you changes those scripts maybe it's even better to tell people about |
38 |
your changes as they may get implemented such that the script itself |
39 |
read a config files (like net.eth0) so that other people can re-use your |
40 |
modifications. |
41 |
|
42 |
And maybe a user's scripts directory should exists, something like |
43 |
/etc/user.d where people can move their custom scripts and the stuff |
44 |
behind rc-update would got here first and if it doesn't found the script |
45 |
then to /etc/init.d. |
46 |
|
47 |
Yannick Koehler |