do not configure the network if one is already configured
This commit is contained in:
parent
c2b281a035
commit
7fd091f534
|
@ -18,7 +18,12 @@ connection_test() {
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_network() {
|
configure_network() {
|
||||||
echo "Press ENTER to configure network"
|
if [ "$(nmcli networking connectivity)" != "full" ]
|
||||||
read dummy_var
|
then
|
||||||
nmtui
|
echo "Press ENTER to configure network"
|
||||||
|
read dummy_var
|
||||||
|
nmtui
|
||||||
|
else
|
||||||
|
echo "Network already configured, skipping..."
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue