Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

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

Alex Schuster

2008-04-14

Replies:

Author LoginPost Reply
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-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.