From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qt6n7-0005Uv-TX for garchives@archives.gentoo.org; Mon, 15 Aug 2011 23:41:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CA3A21C2E0; Mon, 15 Aug 2011 23:41:48 +0000 (UTC) Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by pigeon.gentoo.org (Postfix) with ESMTP id EF61121C1EC for ; Mon, 15 Aug 2011 23:40:56 +0000 (UTC) Received: by eyg24 with SMTP id 24so2730663eyg.16 for ; Mon, 15 Aug 2011 16:40:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=vwM8SY3MFoaMAb4d3YmrV0VfHYQ3nycg8d+6+dnaPmA=; b=NyGBTJ5tAYjQKG27jGxxEuY1WJ8cY0EnEGMad4PKXcKm7QLwzQeZv92D3JMYh0HdoD vLB30vt8So1hrrfScJdBM6iEXSi8vUR8IUKwtCTqqsDKB5UQlRuwzTjL44x4PZ2xzrL8 7iZEv5NkgbNndhqyxeT0pPGKziDeuY5AWT1L0= 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 Received: by 10.14.146.15 with SMTP id q15mr668230eej.236.1313451656065; Mon, 15 Aug 2011 16:40:56 -0700 (PDT) Received: by 10.14.100.140 with HTTP; Mon, 15 Aug 2011 16:40:56 -0700 (PDT) Date: Mon, 15 Aug 2011 16:40:56 -0700 Message-ID: Subject: [gentoo-user] Setting wifi txpower automatically From: Grant To: Gentoo mailing list Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: aeec01a6154064d3577c57961d362f97 Is this in /etc/conf.d/net the best way to set txpower automatically? postup also executes after net.lo and net.eth0 but I don't think it will actually execute the iwconfig command unless it's net.wlan0. postup() { if [[ ${IFACE} == "wlan0" ]] ; then iwconfig wlan0 txpower 0 fi return 0 } - Grant