Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] postup() syntax help
Date: Mon, 14 Apr 2008 04:26:09
Message-Id: 49bf44f10804132126j54984acybfe0c56c5cc0fc0f@mail.gmail.com
1 I'm having trouble getting an iwconfig command to execute after the
2 wlan0 interface has started. The following executes after net.lo
3 starts but there is no message about it executing after net.wlan0
4 starts and the rate is not limited like it is when I execute the
5 command manually:
6
7 postup() {
8 if [[ ${IFACE} = "wlan0" ]]; then
9 iwconfig wlan0 rate 1M
10 fi
11 return 0
12 }
13
14 Does anyone see where I'm going wrong here?
15
16 - Grant
17 --
18 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: postup() syntax help Remy Blank <remy.blank@×××××.com>