diff --git a/connection.sh b/connection.sh index b4c0aae..5a3b01d 100755 --- a/connection.sh +++ b/connection.sh @@ -18,7 +18,12 @@ connection_test() { } configure_network() { - echo "Press ENTER to configure network" - read dummy_var - nmtui + if [ "$(nmcli networking connectivity)" != "full" ] + then + echo "Press ENTER to configure network" + read dummy_var + nmtui + else + echo "Network already configured, skipping..." + fi }