public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Setting wifi txpower automatically
@ 2011-08-15 23:40 Grant
  0 siblings, 0 replies; only message in thread
From: Grant @ 2011-08-15 23:40 UTC (permalink / raw
  To: Gentoo mailing list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-15 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 23:40 [gentoo-user] Setting wifi txpower automatically Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox