Date: Tue, 16 Jun 2020 20:23:58 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r362238 - stable/12/usr.sbin/bsdinstall/scripts Message-ID: <202006162023.05GKNw2e051430@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Tue Jun 16 20:23:57 2020 New Revision: 362238 URL: https://svnweb.freebsd.org/changeset/base/362238 Log: MFC r346683: bsdinstall: up the interface before calling dhclient Modified: stable/12/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/bsdinstall/scripts/netconfig_ipv4 ============================================================================== --- stable/12/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Tue Jun 16 20:22:56 2020 (r362237) +++ stable/12/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Tue Jun 16 20:23:57 2020 (r362238) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006162023.05GKNw2e051430>