From f2440a8f32e80fcbc065e8b7734a66f8e2ce6901 Mon Sep 17 00:00:00 2001 From: Mykola Malkov Date: Wed, 25 Jul 2018 13:51:22 +0300 Subject: [PATCH] TT#37257 Fix endless cycle Fix endless cycle in case of multiple interfaces and non interctive mode. Add exit if interface was configured. Change-Id: I8ddb00f9b4dbcd997bb6fc95e100d7db6f8870b2 --- templates/scripts/includes/netcardconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/scripts/includes/netcardconfig b/templates/scripts/includes/netcardconfig index ac4b6f8..f57552b 100755 --- a/templates/scripts/includes/netcardconfig +++ b/templates/scripts/includes/netcardconfig @@ -684,6 +684,7 @@ while (true); do read -r DV <"$TMP" ; rm -f "$TMP" else DV="${NET_DEV}" + [[ -z "${IFACEDONE}" ]] || bailout fi [ "$DV" = "$EXITKEY" ] && bailout else