Skip to content

Instantly share code, notes, and snippets.

@fionn
Created May 22, 2017 22:38
Show Gist options
  • Save fionn/08c1b2f7af7e4703494cba3b82bd3f45 to your computer and use it in GitHub Desktop.
Save fionn/08c1b2f7af7e4703494cba3b82bd3f45 to your computer and use it in GitHub Desktop.
Fixes weird problem with old Android phone where it disables WiFi networks
#!/system/bin/sh
sed -i.bak '/\tdisabled=1/d' /data/misc/wifi/wpa_supplicant.conf
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment