You've already forked supervised-installer
mirror of
https://github.com/armbian/supervised-installer.git
synced 2026-01-06 12:31:12 -08:00
Read answer from /dev/tty (#123)
This commit is contained in:
@@ -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
|
||||
read answer < /dev/tty
|
||||
|
||||
if [[ "$answer" =~ "y" ]] || [[ "$answer" =~ "Y" ]]; then
|
||||
info "Replacing /etc/network/interfaces"
|
||||
|
||||
Reference in New Issue
Block a user