From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JlGGf-000174-DP for garchives@archives.gentoo.org; Mon, 14 Apr 2008 04:26:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8285E06B8; Mon, 14 Apr 2008 04:26:07 +0000 (UTC) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B2A6E06B8 for ; Mon, 14 Apr 2008 04:26:07 +0000 (UTC) Received: by wa-out-1112.google.com with SMTP id k34so1842921wah.10 for ; Sun, 13 Apr 2008 21:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=FlbAqodudzMM4W/m7rMERZDrO0VcK9j5wgre2WXy/n8=; b=Cn2QZwn2g/Qh8xDkKVxnAbCWb9TzZ7IKpysoATwE6qFqCaEf0mE/lJ8NGLoYHr1hW2qZ1pnz7WfP6YrmQjNemyffrK10sk0Imnh/BNlNd/wBKUBSKVhZz3eTq7X3978j473AurzMtlHTVtXBgtecYY6IoehuRJR+epVA0kqgiD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=U7A5IRrgg8La/Ta+HsaTl8wZb3RgImoxnWDd8aJKnM43l+5fvOn8EqfaL/ni66pgcPyDcxOWJlicRyWtvZomUz+EoVg9MgATIg10a8NYNPsHk0/4Zft320W5YukY1zynMBadznC/DA79kjL2tYvSIYwKKXGcsFbNsGOG4y20HWI= Received: by 10.114.144.1 with SMTP id r1mr6344199wad.135.1208147165896; Sun, 13 Apr 2008 21:26:05 -0700 (PDT) Received: by 10.115.110.15 with HTTP; Sun, 13 Apr 2008 21:26:05 -0700 (PDT) Message-ID: <49bf44f10804132126j54984acybfe0c56c5cc0fc0f@mail.gmail.com> Date: Sun, 13 Apr 2008 21:26:05 -0700 From: Grant To: "Gentoo mailing list" Subject: [gentoo-user] postup() syntax help Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 92eeb2b6-7705-4a3b-97e0-ee88aac68768 X-Archives-Hash: 9599ffcc3e004c8d6ac16a7e86892799 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