From: | Neil Bothwick <neil@××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Wireless question... | ||
Date: | Tue, 09 Oct 2007 08:16:22 | ||
Message-Id: | 20071009090052.7fb0fe9d@krikkit.digimed.co.uk | ||
In Reply to: | [gentoo-user] Wireless question... by Jerry McBride |
1 | Hello Jerry McBride, |
2 | |
3 | > The problem I have is, how to get "ifconfig eth1 up" to run before the |
4 | > wireless stuff? |
5 | |
6 | Add it to the preup function in /etc/conf.d/net. Something like this |
7 | should do it. |
8 | |
9 | preup() { |
10 | if [[ ${IFACE} == "eth1" ]]; then |
11 | ifconfig eth1 up |
12 | else |
13 | return 0 |
14 | fi |
15 | } |
16 | |
17 | |
18 | -- |
19 | Neil Bothwick |
20 | |
21 | And all the Borg left was this darn Macintosh... |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |