View | Details | Raw Unified | Return to bug 221379 | Differences between
and this patch

Collapse All | Expand All

(-)b/usr.sbin/bsdinstall/scripts/netconfig (-1 / +14 lines)
Lines 177-183 elif [ ${IPV4_AVAIL} -eq 1 ]; then Link Here
177
	    'IPv4 DNS #1' 2 0 \"${IP4_1}\" 2 16 16 0 0
177
	    'IPv4 DNS #1' 2 0 \"${IP4_1}\" 2 16 16 0 0
178
	    'IPv4 DNS #2' 3 0 \"${IP4_2}\" 3 16 16 0 0"
178
	    'IPv4 DNS #2' 3 0 \"${IP4_2}\" 3 16 16 0 0"
179
else
179
else
180
	exit 0
180
	# Neither IPv4 nor IPv6 was configured
181
	dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \
182
	    --yesno 'No network addresses were configured by the installer. Would you like to continue anyway?' 0 0
183
	if [ $? -eq $DIALOG_OK ]; then
184
		RESOLV="
185
			'Search' 1 0 \"${SEARCH}\" 1 16 50 0 0
186
			'Nameserver' 2 0 \"Nameserver\" 2 16 50 0 2
187
			'IPv6 DNS #1' 2 0 \"${IP6_1}\" 2 16 50 0 0
188
			'IPv6 DNS #2' 3 0 \"${IP6_2}\" 3 16 50 0 0
189
			'IPv4 DNS #1' 4 0 \"${IP4_1}\" 4 16 16 0 0
190
			'IPv4 DNS #2' 5 0 \"${IP4_2}\" 5 16 16 0 0"
191
	else
192
		exit 0
193
	fi
181
fi
194
fi
182
195
183
exec 3>&1
196
exec 3>&1

Return to bug 221379