1 |
Is this documented anywhere? I have always add the .net-services to default... mhh. |
2 |
|
3 |
But i don't like to manually put them in the local script. I think they must be started like any other script in /etc/init.d |
4 |
|
5 |
And why depends samba, apache and so on on a active network-device? I think net.lo must be ok for these scripts - or? |
6 |
|
7 |
Regards |
8 |
|
9 |
Sebastian Werner |
10 |
|
11 |
|
12 |
Am 24.12.2001 00:13:18, schrieb Martin Schlemmer <azarah@g.o>: |
13 |
|
14 |
>On Mon, 2001-12-24 at 00:40, Sebastian Werner wrote: |
15 |
>> Many other problems there. If I stop net.ppp it will stop near 10 |
16 |
>> services (samba, apache, ...). But the depend line in net.ppp only |
17 |
>> contains net.eth0 (on my system). Why this ugly ;-) script think they |
18 |
>> depend on this. They start after net.ppp but means this they depend on |
19 |
>> net.ppp? |
20 |
> |
21 |
>I am not sure I understand ? what depend line in net.ppp ? |
22 |
>where did you get this script/with what package does it come? |
23 |
> |
24 |
>I also use ppp, but when I stop it, only it stops, and not |
25 |
>all the rest. I will do some testing to verify this, but for |
26 |
>now try not to add net.ppp0 to a runlevel. |
27 |
> |
28 |
>In general, if a net.* service is added to the default |
29 |
>runlevel, the behaviour will be that it will be included in |
30 |
>the 'net' dependancy, this, if you stop it, everything |
31 |
>depending on 'net' will stop. |
32 |
> |
33 |
>Like I said, if you want to stop a net.* service, and not |
34 |
>stop the services depending on 'net', dont add that net.* |
35 |
>service to a runlevel. |
36 |
> |
37 |
>We could probably devise a hack for this, but currently I do |
38 |
>not see a need for this. Just add |
39 |
> |
40 |
> /etc/init.d/net.ppp0 start |
41 |
> |
42 |
>to /etc/init.d/local, and you should be set if you want it |
43 |
>to start at boot. |
44 |
> |
45 |
>What do you think Daniel? |
46 |
> |
47 |
> |
48 |
>Greetings, |
49 |
>-- |
50 |
> |
51 |
>Martin Schlemmer |
52 |
>Gentoo Linux Developer, Desktop Team Developer |
53 |
>Cape Town, South Africa |
54 |
> |
55 |
> |