use "&&" between nmcli con down and con up to not get stuck lol
This commit is contained in:
parent
789c126fb8
commit
10d911f885
@ -30,6 +30,5 @@ sudo nmcli con modify 'Wired connection 1' \
|
|||||||
ipv4.addresses 10.0.0.170/24 \
|
ipv4.addresses 10.0.0.170/24 \
|
||||||
gw4 10.0.0.1 \
|
gw4 10.0.0.1 \
|
||||||
ipv4.dns 1.1.1.1
|
ipv4.dns 1.1.1.1
|
||||||
sudo nmcli con down 'Wired connection 1'
|
sudo nmcli con down 'Wired connection 1' && sudo nmcli con up 'Wired connection 1'
|
||||||
sudo nmcli con up 'Wired connection 1'
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user