»Q« <[EMAIL PROTECTED]> wrote:

> On Tue, 22 Apr 2008 11:30:26 +0100
> Neil Bothwick <[EMAIL PROTECTED]> wrote:

> > preup() {
> >     [[ ${IFACE} == "wlan0" ]] && iwconfig wlan0 txpower on
> >     return 0
> > }
> 
> Thanks much.  That works nicely.  I had tried 
> 
> iwconfig_wlan0="txpower on"
> 
> In /etc/conf.d/net, as the wireless.example file suggested that as a
> way to use iwconfig commands, but it didn't work.  The power would
> be turned on, but the card couldn't successfully connect to an AP.
> Maybe using preup() causes the power to be on sooner?

Never mind the question -- it's clear from the init script's output
that preup() is called before anything else.  As if it shouldn't have
been clear to me just by reading "preup".  ;)


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

Reply via email to