public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: postup() syntax help
Date: Mon, 14 Apr 2008 12:36:46 +0200	[thread overview]
Message-ID: <200804141236.49390.wonko@wonkology.org> (raw)
In-Reply-To: <ftv0jd$g16$1@ger.gmane.org>

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@lists.gentoo.org mailing list



  reply	other threads:[~2008-04-14 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14  4:26 [gentoo-user] postup() syntax help Grant
2008-04-14  7:20 ` [gentoo-user] " Remy Blank
2008-04-14 10:36   ` Alex Schuster [this message]
2008-04-14 11:26     ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804141236.49390.wonko@wonkology.org \
    --to=wonko@wonkology.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox