svn commit: r346683 - head/usr.sbin/bsdinstall/scripts
Emmanuel Vadot
manu at FreeBSD.org
Thu Apr 25 16:47:17 UTC 2019
Author: manu
Date: Thu Apr 25 16:47:15 2019
New Revision: 346683
URL: https://svnweb.freebsd.org/changeset/base/346683
Log:
bsdinstall: up the interface before calling dhclient
MFC after: 1 week
Modified:
head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Thu Apr 25 16:45:24 2019 (r346682)
+++ head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Thu Apr 25 16:47:15 2019 (r346683)
@@ -49,6 +49,7 @@ esac
dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' --yesno 'Would you like to use DHCP to configure this interface?' 0 0
if [ $? -eq $DIALOG_OK ]; then
if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then
+ ifconfig $INTERFACE up
dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0
err=$( dhclient $INTERFACE 2>&1 )
if [ $? -ne 0 ]; then
More information about the svn-src-all
mailing list