From: | deadeyes <gvm999@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | [gentoo-user] Re: configure wlan0 route metric | ||
Date: | Thu, 14 Apr 2011 08:16:07 | ||
Message-Id: | loom.20110414T101044-976@post.gmane.org | ||
In Reply to: | [gentoo-user] Re: configure wlan0 route metric by deadeyes |
1 | deadeyes <gvm999 <at> gmail.com> writes: |
2 | |
3 | code that can be added in /etc/conf.d/net: |
4 | postup() { |
5 | local metric=0 |
6 | |
7 | case "${IFACE}" in |
8 | eth0) metric=0 ;; |
9 | eth1) metric=1 ;; |
10 | esac |
11 | ifmetric "${IFACE}" "${metric}" |
12 | |
13 | return 0 |
14 | } |
15 | |
16 | Seems like this works for me as well! :) |
17 | |
18 | Thanks for your responses guys |
Subject | Author |
---|---|
Re: [gentoo-user] Re: configure wlan0 route metric | Mick <michaelkintzios@×××××.com> |