I want to disable the on-board wlan on my RPI3 (Raspbian) upon startup using:
ifconfig wlan0 down
It works on the command line, but when I put it in /etc/rc.local
, as it was suggested here, it has no effect.
I checked that rc.local
is indeed executed and wlan0 is reported as present.
Why is it not working and what would be the correct place to do it?