Don't force the user to pick an interface if the responsefile is on
a disk.

- Matthew Martin


Index: install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.932
diff -u -p -r1.932 install.sub
--- install.sub 24 Nov 2016 14:35:43 -0000      1.932
+++ install.sub 27 Nov 2016 05:17:01 -0000
@@ -529,6 +529,7 @@ get_responsefile() {
                while (($# > 1)); do
                        ask_which "network interface" \
                                "should be used for the initial DHCP request" 
"$*"
+                       [[ $resp == done ]] && break 2
                        isin "$resp" $* && _if=$resp && break
                done
                [[ -n $_if ]] && dhclient $_if || break

Reply via email to