From: | Alex Schuster <wonko@×××××××××.org> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: postup() syntax help | ||
Date: | Mon, 14 Apr 2008 10:37:22 | ||
Message-Id: | 200804141236.49390.wonko@wonkology.org | ||
In Reply to: | [gentoo-user] Re: postup() syntax help by Remy Blank |
1 | Remy Blank writes: |
2 | |
3 | > Grant wrote: |
4 | > > postup() { |
5 | > > if [[ ${IFACE} = "wlan0" ]]; then |
6 | > |
7 | > IIRC, the equality operator is "==", not "=". |
8 | |
9 | Both is valid in bash. |
10 | |
11 | I'd put a "set -xv" before the if statement, this way you see which |
12 | statements, if any, get executed. |
13 | |
14 | Wonko |
15 | -- |
16 | gentoo-user@l.g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-user] Re: postup() syntax help | Iain Buchanan <iaindb@××××××××××××.au> |