From a58f5b1394322656e39a0d1205c883f72ea79b07 Mon Sep 17 00:00:00 2001 From: NobleKangaroo Date: Tue, 20 Oct 2020 01:30:28 -0400 Subject: [PATCH] Revert "Read answer from /dev/tty" This reverts commit ebd6fdffe46e4781884855e0fcc22c056531a8f3. --- installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh b/installer.sh index cd93f84..e2d621c 100644 --- a/installer.sh +++ b/installer.sh @@ -106,7 +106,7 @@ warn "Changes are needed to the /etc/network/interfaces file" info "If you have modified the network on the host manualy, those can now be overwritten" info "If you do not overwrite this now you need to manually adjust it later" info "Do you want to proceed with that? [N/y] " -read answer < /dev/tty +read answer if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then info "Replacing /etc/network/interfaces"