mirror of https://github.com/aredn/aredn.git
bugfix: Node would not set correct power level on reboot.
fixes BBHN->ticket:45
This commit is contained in:
parent
62721ea9fa
commit
8debb9019c
|
@ -384,7 +384,7 @@ unless($cfg{wifi_proto} eq "disabled")
|
|||
if(wifi_useschains()){
|
||||
print FILE "/usr/local/bin/wifi-onbootchains\n";
|
||||
}
|
||||
print FILE "/usr/sbin/iwconfig wlan0 txpower $cfg{wifi_txpower}\n";
|
||||
print FILE "/usr/sbin/iw dev wlan0 set txpower fixed $cfg{wifi_txpower}00\n"
|
||||
if(defined $cfg{aprs_lat} and defined $cfg{aprs_lon})
|
||||
{
|
||||
printf FILE "echo %s,%s > /tmp/latlon.txt\n", $cfg{aprs_lat}, $cfg{aprs_lon};
|
||||
|
|
Loading…
Reference in New Issue