diff options
author | Allan Jude <allanjude@FreeBSD.org> | 2020-07-11 17:20:17 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2020-07-11 17:20:17 +0000 |
commit | c5acd3a09110c66d13f36824d18783aea90d7eab (patch) | |
tree | 51e428dc5b31d9ed466cb01e0dd6681760dde521 /usr.sbin | |
parent | 87f9c14ad387174033ed292389a9a2350aa73dbb (diff) | |
download | src-c5acd3a09110c66d13f36824d18783aea90d7eab.tar.gz src-c5acd3a09110c66d13f36824d18783aea90d7eab.zip |
Notes
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/netconfig_ipv4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 b/usr.sbin/bsdinstall/scripts/netconfig_ipv4 index 6d7dc45683ed..2acd9029d150 100755 --- a/usr.sbin/bsdinstall/scripts/netconfig_ipv4 +++ b/usr.sbin/bsdinstall/scripts/netconfig_ipv4 @@ -51,7 +51,7 @@ if [ $? -eq $DIALOG_OK ]; then if [ ! -z $BSDINSTALL_CONFIGCURRENT ]; then ifconfig $INTERFACE up dialog --backtitle 'FreeBSD Installer' --infobox "Acquiring DHCP lease..." 0 0 - err=$( pkill dhclient; dhclient $INTERFACE 2>&1 ) + err=$( pkill -F /var/run/dhclient/dhclient.${INTERFACE}.pid; dhclient $INTERFACE 2>&1 ) if [ $? -ne 0 ]; then f_dprintf "%s" "$err" dialog --backtitle 'FreeBSD Installer' --msgbox "DHCP lease acquisition failed." 0 0 |