1 |
On Sun, 2004-03-07 at 20:42, Jerry McBride wrote: |
2 |
> Collin Starkweather wrote: |
3 |
> > I put a 'provide net' in /etc/init.d/net.ath0 but when I start it up, |
4 |
> > other things that 'need net' such as sshd still don't recognize it as |
5 |
> > something that provides the virtual 'net' dependency and try to start |
6 |
> > eth0. |
7 |
> |
8 |
> Those scripts in /etc/init.d are actual startup scripts that are called by |
9 |
> two methods... First there's the Pain-In-The-Ass internal dependencies as |
10 |
> you seem to be familiar with and then there's the runlevels... You can list |
11 |
> the runlevels by: rc-update -s. Unless you've chaned it, net.eth0 is in the |
12 |
> default runlevel... |
13 |
|
14 |
Thanks to you and Matt for your replies. It sucks that it's hardcoded. |
15 |
I set net.ath0 to default and took net.eth0 out, but when ntpd or sshd |
16 |
are started they try to start their dependencies as well. |
17 |
|
18 |
Hence, init tries to start eth0 at the default runlevel whether I want |
19 |
it to or not :-( |
20 |
|
21 |
-me |
22 |
|
23 |
-- |
24 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
25 |
Collin Starkweather, Ph.D. collin.starkweather@××××××××××××××××××.com |
26 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |