this disables it:sudo touch /etc/default/NetworkManager
sudo touch /etc/default/NetworkManagerDispatcher
echo "exit" | sudo tee -a /etc/default/NetworkManager
echo "exit" | sudo tee -a /etc/default/NetworkManagerDispatcher
and this re-enables it:sudo rm /etc/default/NetworkManager
sudo rm /etc/default/NetworkManagerDispatcher