diff options
-rwxr-xr-x | setup-interfaces.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/setup-interfaces.in b/setup-interfaces.in index d9cda62..3a17c90 100755 --- a/setup-interfaces.in +++ b/setup-interfaces.in @@ -233,10 +233,14 @@ prompt_for_interfaces() { while [ "$answer" != "yes" ] && [ "$answer" != "no" ] ; do ask "Do you want to do any manual network configuration?" no - answer=$resp + case $resp in + y) answer=yes;; + n) answer=no;; + *) answer=$resp;; + esac done - if [ "$answer" = "yes" ]; then + if yesno "$answer"; then case "$EDITOR" in nano) pkg_inst nano;; vim) pkg_inst vim;; |