Of course, I forgot to mention that it is then essential to specify
down ifconfig wlanX down || true
otherwise the result will be no better than the actual static behavior.
Of course, I forgot to mention that it is then essential to specify
down ifconfig wlanX down || true
otherwise the result will be no better than the actual static behavior.