| Summary: | The depend function for network init scripts doesn't work if you set different init profiles | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefano Varesi <stefano.varesi> |
| Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | stefano.varesi |
| Priority: | High | Keywords: | InVCS |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Stefano Varesi
2006-06-23 06:40:33 UTC
I'm not going to fix this as we cannot have dependencies different between runlevels. Would you be happy if I added a note to say this in net.example? NOTE: Due to the way we handle our init.d script dependencies you cannot put a depend_ppp0() in /etc/conf.d/net.$runlevel - it has to be in /etc/conf.d/net I didn't know that it was impossible to have different dependecies between runlevels. I thought it was logical that different configurations can have also different dependencies. Maybe it's better if you add that note in net.example, so that other users that make use of a depend function wouldn't be confused about that. Thanks. My problem has been resolved with a preup function that registers to the essid and makes the wep autentication and a postdown function that brings ath0 down. Documented in our svn repo - will be in baselayout-1.12.2 Fixed |