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() {
|
||||
if [ "$(nmcli networking connectivity)" != "full" ]
|
||||
then
|
||||
echo "Press ENTER to configure network"
|
||||
read dummy_var
|
||||
nmtui
|
||||
else
|
||||
echo "Network already configured, skipping..."
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue