public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: "Gentoo mailing list" <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] postup() syntax help
Date: Sun, 13 Apr 2008 21:26:05 -0700	[thread overview]
Message-ID: <49bf44f10804132126j54984acybfe0c56c5cc0fc0f@mail.gmail.com> (raw)

I'm having trouble getting an iwconfig command to execute after the
wlan0 interface has started.  The following executes after net.lo
starts but there is no message about it executing after net.wlan0
starts and the rate is not limited like it is when I execute the
command manually:

postup() {
     if [[ ${IFACE} = "wlan0" ]]; then
             iwconfig wlan0 rate 1M
     fi
     return 0
}

Does anyone see where I'm going wrong here?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



             reply	other threads:[~2008-04-14  4:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14  4:26 Grant [this message]
2008-04-14  7:20 ` [gentoo-user] Re: postup() syntax help Remy Blank
2008-04-14 10:36   ` Alex Schuster
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=49bf44f10804132126j54984acybfe0c56c5cc0fc0f@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --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