Skip to content

Instantly share code, notes, and snippets.

@rvrsh3ll
Created July 9, 2019 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvrsh3ll/d29ce7c2724c55dc20b2cb73fe9cd34f to your computer and use it in GitHub Desktop.
Save rvrsh3ll/d29ce7c2724c55dc20b2cb73fe9cd34f to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "" > /etc/network/interfaces
sed -i 's/false/true/' /etc/NetworkManager/NetworkManager.conf
service network-manager restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment