On Sun, 20 Apr 2008 16:42:41 -0500, »Q« wrote: > I wish I knew how to keep it from going off in the first place,
It's probably a good thing, especially if your laptop's battery is as
rubbish as mine
> for now I'll just give an alias to
> "/etc/init.d/net.wlan0 stop && iwconfig wlan0 txpower on
> && /etc/init.d/net.wlan0 start"
There's no need to mess around with aliases, the network scripts can
handle this automatically. Add this to /etc/conf.d/net
preup() {
[[ ${IFACE} == "wlan0" ]] && iwconfig wlan0 txpower on
return 0
}
--
Neil Bothwick
Pentium is a risk processor
signature.asc
Description: PGP signature

