Re: [gentoo-user] Re: postup() syntax help

2008-04-14 Thread Iain Buchanan
On Mon, 2008-04-14 at 12:36 +0200, Alex Schuster wrote: > I'd put a "set -xv" before the if statement, this way you see which > statements, if any, get executed. fantastic! I never knew about that... All the debugging it could have saved me! thanks, -- Iain Buchanan Given that sooner or

Re: [gentoo-user] Re: postup() syntax help

2008-04-14 Thread Alex Schuster
Remy Blank writes: > Grant wrote: > > postup() { > > if [[ ${IFACE} = "wlan0" ]]; then > > IIRC, the equality operator is "==", not "=". Both is valid in bash. I'd put a "set -xv" before the if statement, this way you see which statements, if any, get executed. Wonko -- gentoo-us

[gentoo-user] Re: postup() syntax help

2008-04-14 Thread Remy Blank
Grant wrote: postup() { if [[ ${IFACE} = "wlan0" ]]; then IIRC, the equality operator is "==", not "=". HTH. -- Remy signature.asc Description: OpenPGP digital signature