1 |
On Mon, 16 Jun 2008 16:44:10 -0700, Grant wrote: |
2 |
|
3 |
> >> postup() { |
4 |
> >> set -xv |
5 |
> >> if [[ ${IFACE} == "ath0" ]] ; then |
6 |
> >> iwconfig ath0 rate 2M |
7 |
> >> fi |
8 |
> >> return 0 |
9 |
> >> } |
10 |
> > |
11 |
> > What is wrong, the syntax looks fine. Does running the iwconfig |
12 |
> > manually after connection work? |
13 |
> |
14 |
> I can't test the computer that's having the issue right now, but it |
15 |
> outputs some strange stuff like: |
16 |
> |
17 |
> /a/t/h/0/ |
18 |
|
19 |
Try it without the set line, this is not running in a bash shell. If you |
20 |
need information as the script runs, echo it to a file and tail that |
21 |
file. |
22 |
|
23 |
|
24 |
-- |
25 |
Neil Bothwick |
26 |
|
27 |
"Bother," said Pooh, more from force of habit than anything else. |