svn commit: r362238 - stable/12/usr.sbin/bsdinstall/scripts
Emmanuel Vadot
manu at FreeBSD.org
Tue Jun 16 20:23:58 UTC 2020
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
More information about the svn-src-stable-12
mailing list