Use setup-wifi instead of connect-to-network
This commit is contained in:
parent
a8afd793e0
commit
ceb6a9e294
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
## Connect to network and update hostname
|
||||
|
||||
# Connect
|
||||
connect-to-network
|
||||
sleep 2s
|
||||
# Add saved networks to NetworkManager
|
||||
sudo setup-wifi
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
IP="$(ip a show scope global \
|
||||
| grep inet \
|
||||
|
|
|
|||
Loading…
Reference in a new issue