View | Details | Raw Unified | Return to bug 205821
Collapse All | Expand All

(-)scripts/netconfig_ipv4 (-1 / +1 lines)
Lines 52-58 Link Here
52
52
53
	if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then
53
	if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then
54
		dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0
54
		dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0
55
		err=$( dhclient $INTERFACE 2>&1 )
55
		err=$( pkill dhclient; dhclient $INTERFACE 2>&1 )
56
		if [ $? -ne 0 ]; then
56
		if [ $? -ne 0 ]; then
57
			f_dprintf "%s" "$err"
57
			f_dprintf "%s" "$err"
58
			dialog --backtitle 'FreeBSD Installer' --msgbox "DHCP lease acquisition failed." 0 0
58
			dialog --backtitle 'FreeBSD Installer' --msgbox "DHCP lease acquisition failed." 0 0

Return to bug 205821