Use setup-wifi instead of connect-to-network

This commit is contained in:
2Shirt 2019-04-11 20:57:30 -07:00
parent a8afd793e0
commit ceb6a9e294
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -3,9 +3,9 @@
# #
## Connect to network and update hostname ## Connect to network and update hostname
# Connect # Add saved networks to NetworkManager
connect-to-network sudo setup-wifi
sleep 2s sudo systemctl restart NetworkManager
IP="$(ip a show scope global \ IP="$(ip a show scope global \
| grep inet \ | grep inet \