You are not logged in.

#1 2007-04-05 01:25:37

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,329

/etc/rc.d/network initscript question

I'd like to ask if there is any reason for having network initscript first trying to setup NET_PROFILES stuff and only after that INTERFACES.
Let me explain why I'd like to understand: my setup is that I have INTERFACES=(lo), and NET_PROFILES has setup for my wireless. Now starting and connecting to wireless usually takes some time, so I'm running the network daemon in the background (@network in rc.conf). Nevertheless, some services ran after network (e.g. mpd) require the lo interface to be running already. So, the current way the network script does things, it doesn't set up lo until after the wireless connects or fails, which is way too late for any daemon ran after @network. On the other hand, if I swap these two things in the network script, everything goes fine.

Offline

#2 2007-04-05 17:59:13

_alexmyself
Member
From: france
Registered: 2005-09-18
Posts: 90

Re: /etc/rc.d/network initscript question

new scripts are in progress, don't remember where to get them..

Offline

Board footer

Powered by FluxBB