...oops, the following will do
ifconfig wlan0 down iw phy0 set antenna 1 1 ifconfig wlan0 up exit 0
..no need for sudoing in rc.local
...oops, the following will do
ifconfig wlan0 down
iw phy0 set antenna 1 1
ifconfig wlan0 up
exit 0
..no need for sudoing in rc.local